Git Product home page Git Product logo

course-be's Introduction

Project Name

course-BE

Overview

Provide a brief description of your project, its purpose, and any key features.

Prerequisites

Ensure you have the following installed:

Setup

  1. Clone the repository

    git clone https://github.com/your-username/your-repository.git
    cd your-repository
  2. Install dependencies

    npm install
  3. Create a .env file

    In the root directory of the project, create a .env file and add the following environment variables:

    PORT=8000
    ORIGIN=["http://localhost:8000/"]
    
    NODE_ENV=development
    
    DB_URL=your_database_url
    
    CLOUD_NAME=your_cloud_name
    CLOUD_API_KEY=your_cloud_api_key
    CLOUD_SECRET_KEY=your_cloud_secret_key
    
    REDIS_URL=your_redis_url
    
    ACCESS_TOKEN=your_access_token
    ACCESS_TOKEN_EXPIRE=your_access_token_expiration_time
    REFRESH_TOKEN=your_refresh_token
    REFRESH_TOKEN_EXPIRE=your_refresh_token_expiration_time
    
    ACTIVATION_SECRET=your_activation_secret
    
    SMTP_HOST=your_smtp_host
    SMTP_PORT=your_smtp_port
    SMTP_SERVICE=your_smtp_service
    SMTP_MAIL=your_smtp_mail
    SMTP_PASSWORD=your_smtp_password

    Replace your_database_url, your_cloud_name, your_cloud_api_key, your_cloud_secret_key, your_redis_url, your_access_token, your_access_token_expiration_time, your_refresh_token, your_refresh_token_expiration_time, your_activation_secret, your_smtp_host, your_smtp_port, your_smtp_service, your_smtp_mail, and your_smtp_password with the actual values.

  4. Run the development server

    npm run dev

    Your application should now be running on http://localhost:8000.

Usage

Contributing

License

course-be's People

Contributors

hnguyendev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.