This is a Fastify API for a cleaning services application.
- Node.js
- PostgreSQL
-
Clone the repository.
-
Install the dependencies:
npm install
-
Create a
.env
file in the root of the project and add your PostgreSQL connection string:DATABASE_URL=postgres://user:password@host:port/database JWT_SECRET=your-super-secret-key
-
Run the database migrations:
npm run db:migrate
-
Start the server:
npm start
The server will be running on http://localhost:3000
.