Skip to content
Frank Kim edited this page Apr 20, 2020 · 6 revisions

Welcome to API wiki!


๐Ÿ“ฆ Installation and Setup

  1. Install Node.js. Check the website for information on how to install
  2. Install Yarn Check the website for information on how to install
  3. Clone the project. Git clone the project to somewhere you want to work on your local machine
  4. Install Postgres database. This will be needed to run the project locally
  5. Setup database
    1. Create a user on your new Postgres database
    2. Create a database called code_mentoring_learning in Postgres
    3. Create your local development settings file under: packages/api/config/development.yml
    4. Add the following to that file:
    db:
      username: USER YOU JUST CREATED IN POSTGRESS
      password: PASSWORD YOU USED

๐Ÿƒ๐Ÿฟโ€โ™‚๏ธ Running the project

API:

cd packages/api;
yarn dev

You can then open http://localhost:4000/graphql to test the API


๐Ÿ‘ Credits

This project is built and maintained by the community of Code Mentoring.

Built by the people, for the people

Clone this wiki locally