ccrsxx / learnify-backend

Learnify backend

Home Page:https://api.learnify.risalamin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learnify Backend

Development

Here are the steps to run the project locally.

  1. Clone the repository

    git clone https://github.com/ccrsxx/learnify-backend.git
  2. Change directory to the project

    cd learnify-backend
  3. Install dependencies

    npm i
  4. Check your credentials on .env.development. Make sure you have the correct credentials for your PostgreSQL database. Or create .env.local so that it doesn't get tracked by git.

  5. Create DB if not exists

    npm run db:create
  6. Run migrations

    npm run db:migrate
  7. Run seeders

    npm run db:seed
  8. Run the app

    npm run dev

About

Learnify backend

https://api.learnify.risalamin.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%Language:Shell 0.0%