Skip to content

backend service for Skillswap, a peer-to-peer learning platform.

License

Notifications You must be signed in to change notification settings

yoelgal/skillswapBackendService

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Setting up environment - .env

For running the email service, log in to your google account and add an 'app password'. Use google and follow the steps on how to make one, then add your own credentials into the .env file.

JWT_SECRET=<generate a jwt secret key and enter here>

# database credentials are for local Docker development
DATABASE_HOST: localhost
DATABASE_USER: root
DATABASE_PASSWORD: root
DATABASE_NAME: skillswap

EMAIL_USER=<email address being used>
EMAIL_PASS=<password for email address>

# KEEP THIS AS IT IS SHOWN HERE
NODE_ENV=development

Running the app

# build docker container
$ npm run docker

# run server
$ npm run start:ts

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

backend service for Skillswap, a peer-to-peer learning platform.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages