Skip to content

TeamMrWeb/pastesnip-backend

Repository files navigation

Pastesnip Backend

Backend for Pastesnip application written in GraphQL Yoga and Mongoose.

Unit Tests Integration Tests

Development 💫

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

Environment Variable 📝

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)