This project aims to create a platform to manage the inventory of HackerSchool tools and items, as well as allow members to request said tools and items.
- Clone the project to your local machine.
- In the project root directory run
npm i. - Edit database credentials in
backend/.env(copy the contents frombackend/.env.exampleif it doesn't exist) - If running on a new database installation, run
npm run migratein thebackenddirectory.
To run the application in development mode, you have to execute the following commands:
- In the
backenddirectory, runnpm run dev. - In the
frontenddirectory, runnpm run serve.
To run the application in production mode, you have to first build the frontend and then start the backend server, as follows:
- In the
frontenddirectory, runnpm run build. - In the
backenddirectory, runnpm run start.