Backend for Pastesnip application written in GraphQL Yoga and Mongoose.
To start developing in this repository you need to do the following steps.
Clone the repository
git clone https://github.com/TeamParches/pastesnip-backend.git
cd pastesnip-backend
Install requirements and run it.
yarn install
yarn dev
To run any test
yarn test:unit
yarn test:integration
Before to run the server you need to define a .env file with some required variables, you can check this example
Necessary
- MongoDB URI connection
- Cloudinary access keys
- Email credentials (from google, recommended)