Asgard is a front-end service for our workshop-managing web application.
- Vite
- React
- Typescript
- CSS Modules
- clone this repository:
git clone https://github.com/folkvangrn/asgard.git - cd into cloned repo:
cd asgard - execute
docker-compose up - done!
User can adjust the URL on which the backend is present by changing REACT_APP_BACKEND_URL environment variable in docekr-compose.yml file.
Please note that for building your own docker image nginx.conf file is vital, as it contains settings for nginx server that publishes production version of our React app.
To install all dependencies, run this command:
npm installTo run and develop application locally, run the following command:
npm run dev
To serve a production-ready website, run the following command:
npm run build
To check how production version looks like, run this command:
npm run preview
- ESLint
- Prettier
- CSS Modules