-
Notifications
You must be signed in to change notification settings - Fork 16
API
Tristan Matthias edited this page Apr 22, 2020
·
6 revisions
api : The NestJS API package that powers all our data (api.codementoring.co)
- Install Node.js. Check the website for information on how to install
- Install Yarn Check the website for information on how to install
- Clone the project. Git clone the project to somewhere you want to work on your local machine
- Install Postgres database. This will be needed to run the project locally
-
Setup database
- Create a user on your new Postgres database
- Create a database called
code_mentoring_learning
in Postgres - Create your local development settings file under:
packages/api/config/development.yml
- Add the following to that file:
db: username: USER YOU JUST CREATED IN POSTGRESS password: PASSWORD YOU USED
cd packages/api;
yarn dev
You can then open http://localhost:4000/graphql to test the API
This project is built and maintained by the community of Code Mentoring.
Built by the people, for the people
Packages
Issues/PRs
API
Testing
Contributing