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.example
if it doesn't exist) - If running on a new database installation, run
npm run migrate
in thebackend
directory.
To run the application in development mode, you have to execute the following commands:
- In the
backend
directory, runnpm run dev
. - In the
frontend
directory, 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
frontend
directory, runnpm run build
. - In the
backend
directory, runnpm run start
.