A REST API backend for CharCookery, an Android project built as a course requirement for MOBDEVE.
- Clone the repository:
git clone https://github.com/nicapos/charcookery-nodejs.git
cd charcookery-nodejs- Initialize and install the necessary modules.
npm install- Configure environment variables. Duplicate the
.env.examplefile and name it as.env. Fill in the required environment variables in the file with the appropriate values.
To start the application in development, run:
npm run startThis will start the server at localhost:3000 and the documentation at localhost:3000/docs (or replace with the port specified in your .env file if different).
To build the app at /dist, run:
npm run buildAfter building, you can start the app in production by running:
npm run serve