Skip to content
Tristan Matthias edited this page Apr 22, 2020 · 5 revisions

Welcome to the Client wiki!

client : The React package that provides the UI/front-end for the project (learn.codementoring.co)

πŸ“¦ 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
  6. Install dependencies: Inside the root of the project, run yarn and wait for install

  7. Setup is complete πŸŽ‰!


πŸƒπŸΏβ€β™‚οΈ Running the project

Client:

cd packages/client;
yarn dev

Once the API is running, open http://localhost:8080 to load the front-end.


πŸ‘ Credits

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

Built by the people, for the people