This is the backend of the InOrbit application, developed with Node.js and Fastify, using Drizzle for ORM and PostgreSQL as the database.
The inorbit-api provides a RESTful API that serves as the backend for the InOrbit application's frontend.
Follow the steps below to set up and run the project locally.
- Clone the repository:
git clone https://github.com/MateusFS99/inorbit-api.git
- Navigate to the project directory:
cd inorbit-api
- Install the dependencies:
npm install
- Create a .env file at the root of the project and configure the environment variables as specified in the .env.example file.
- Compose up the Docker Compose to use a container with PostgreSQL:
docker compose up
- Run the Drizzle migrations:
npx drizzle-kit migrate
- Start the server:
npm run dev
This project is under the MIT license. Consult the LICENSE for details.