Table of Contents
This repo is the frontend part of an exam project at KEA, developed for CPH-Værkstedet.
It is a prototype of a system where users can create an account and purchase tickets that can be spend in a booking system.
The admin user for the application is seeded automatically by running the backend, and the admin panel can be accessed with the following credentials
Email: [email protected]
Password: 1234Admin
The technologies used to built this prototype are
To get a local copy of the project up and running, follow these steps
This project requires Node.js to run
If you do not have Node.js installed, install it from their website.
This project uses Yarn as a package manage. To run the project smoothly, we recommend using yarn instead of npm.
If you do not have yarn installed, we recommend installing yarn through NPM
If you do not have npm installed, we recommend following this guide.
- Install yarn globally through npm
npm install -g yarn
- Check the version of yarn after installation
yarn --version
-
Clone the repository through the terminal
git clone https://github.com/LasseStaus/frontend_chakra.git
Alternatively you can download the zip file, and open it in your IDE.
-
Install packages used in the project
yarn install
-
Copy the contents of
.env.example
into a.env
file and either specify details or use the default settings -
Run the application in production
yarn run build
yarn start
-
Alternatively, run the application in development mode
yarn start:dev
To create and connect with an instance of our backend, please go to the backend repository and follow the steps in the Readme