Backend for Client Production Ma 68FE nagement.
- Install Node.js runtime from https://nodejs.org/en/download
- Clone this repository using
git clone https://github.com/CPM-Creative-Production-Management/cpm-backend.git
- Switch to the root directory of the project, and run the command
npm i
to install all dependencies. - You may request the authors for the .env file, which needs to be placed in the root directory for this project to run.
- Start the project using
npm start
. The development server will be active at localhost:3000
- This project is hosted at https://cpm-backend.onrender.com. Pushes to the main branch will cause the deployed app to reload according to the latest version. Thus, it is suggested that the app is thoroughly tested in the development server before any commits to main are made.
- This projected is hosted on a free tier Render account. This adds the limitation of backend computing resources being spun down with inactivity. The very first calls to the API will likely be slow.
This project uses a Postgres database hosted on an AWS Free Tier RDS system. To monitor the database directly, you can use any VSCode extension or a PostgreSQL client such as pgadmin4. You may request the authors for the credentials.