Skip to content

alireza-askarpour/fast-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastlearn Backend

The online learning application built using Node.js, Express, Mongoose

Index

Features

Installation

Running Locally

Make sure you have Node.js and npm installed.

  1. Clone or Download the repository

    $ git clone https://github.com/FastLearn-ir/fastlearn-backend.git
    $ cd fastlearn-backend
    
  2. Install Dependencies

    $ npm install
    
  3. configure .env file

      PORT = 8000
    
      BASE_URL = http://localhost:8000
      MONGO_URI = mongodb://127.0.0.1:27017/express-store
    
      ACCESS_TOKEN_SECRET_KEY = 032AF2E4B0C670B6348A604B13FD074FCE77D6C8A6FF6A8361820DFFF87A600A
      REFRESH_TOKEN_SECRET_KEY = 42757476C1B4429E823B36F26BE7F4460570E3ED9182710923D0939365584FD7
    
    
  4. Start the application

    # development mode
    $ npm run dev
    
    # production mode
    $ npm start

Your app should now be running on localhost:8000.

Documents

swagger-ui

Swagger