This repository contains the backend codebase. Follow these steps to run and test the available commands.
- languaje: Javascript
- Runtime environment: NodeJS
- ORM: Sequelize
- Database: PostgreSQL
- API query: GraphQL
- GraphQL Server: Apollo-Server
- Server cache: Redis
Install dependencies:
npm install
# or
yarn installCopy file .env.example to .env
npm sequelize:init
# or
yarn sequelize:initStart the backend server:
npm start
# or
yarn startstart: Launches the backend server.test: Runs the test suite.
Execute all tests:
npm test
# or
yarn testSet to false the env ENABLE_REDIS variable
Refer to package.json for additional scripts and commands.
If you face issues, verify that all dependencies are installed and your environment meets the prerequisites.