Giter VIP home page Giter VIP logo

mohsinchd / learnica-backend Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 0.0 84 KB

Learnica's backend repository serves as the robust foundation of our online learning platform, powered by Node.js and Express.js, forming part of the MERN stack. Designed with scalability and security in mind, the backend efficiently handles data processing, user authentication, and course management.

JavaScript 100.00%
bcryptjs expressjs jwt-authentication mongodb mongoose mvc-architecture nodejs razorpay-api

learnica-backend's Introduction

Learnica Backend

Learnica is an online learning platform that empowers users to be both instructors and students. Instructors can create and monetize courses, while students can enroll in these courses. This README provides information about the Learnica backend, including setup instructions and details on running the API.

Project Overview

Learnica's backend is built using the (MongoDB, Express.js, Node.js) stack. It manages user authentication, course creation, enrollment, and transaction processing.

Getting Started

Follow these steps to set up and run the Learnica backend on your local machine.

Prerequisites

  1. Node.js and npm should be installed. Download here.
  2. MongoDB should be installed. Download here.

Installation

git clone https://github.com/mohsinchd/Learnica-Backend.git
cd Learnica-Backend
npm install

We have Created a config folder in the root directory and you have to add a config.env file inside it.

config
└── config.env

Open config.env and add the following environment variables. Replace values with your configurations:

PORT=5000
MONGO_URI=<your-mongo-uri <use mongodb on locally or mongoAtlas>>
JWT_SECRET=<your-jwt-secret <jwt secret can be anything>>
CLOUDINARY_CLIENT_NAME=<your-cloudinary-client-name <Go to cloudinary and get your credentials>>
CLOUDINARY_CLIENT_API=<your-cloudinary-client-api <Go to cloudinary and get your credentials>>
CLOUDINARY_CLIENT_SECRET=<your-cloudinary-client-secret <Go to cloudinary and get your credentials>>
SMTP_USER=<your-smtp-user <Your google account email>>
SMTP_PASS=<your-smtp-password <Go to Your Google account and generate the application password from their and paste it here>>
RAZOR_PAY_KEY=<your-razorpay-key <Go to RazorPay SignUp and generate the credentials from the account settings.>>
RAZOR_PAY_SECRET=<your-razorpay-secret <Go to RazorPay SignUp and generate the credentials from the account settings.>>
FRONTEND_URL=<your-frontend-url>
API_URL=http://localhost:5000

To Run the API

npm run dev

Backend Deployment

The backend of LEARNICA is deployed using Railway and is accessible at the following link:

LEARNICA Backend Deployment

Thank you for your interest in LEARNICA! If you have any questions or suggestions, please don't hesitate to reach out.

learnica-backend's People

Contributors

mohsinchd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.