Snapvox API is built using NestJS. To start using it, you need to install the dependencies first:
npm install
Snapvox API uses PostgreSQL as its database. To run the database, you can use Docker:
docker-compose up -d
Copy the template .env.template
to a new .env
cp .env.template .env
Snapvox API uses Prisma to manage the database schema. To migrate the schema, you can use the following command:
# development
npx prisma migrate dev
# development
npm run start:dev