Code Monkey home page Code Monkey logo

course-app's Introduction

COURZERO - Learn from zero

COURZERO is a full-stack course selling web application that enables users to buy and sell courses. It provides a user-friendly interface for managing courses, user authentication, and facilitating course purchases.

Features

  • User and Admin authentication using JWT tokens
  • CRUD operations for courses (Admin only)
  • User signup, login, and course purchase
  • View purchased courses by users
  • MongoDB database integration
  • Express server with token-based authentication

Tech Stack

Backend

  • Node.js
  • Express.js
  • MongoDB (via Mongoose)

Authentication

  • JSON Web Tokens (JWT)

Frontend (In development)

  • React
  • MUI

Getting Started

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm (Node Package Manager)
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/course-selling-app.git
    cd course-selling-app
  2. Install dependencies:

    npm install
  3. Set up your MongoDB database:

    Update the connection string in index.js:

    mongoose.connect('your-mongodb-connection-string', {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        dbName: "course-app"
    });
  4. Run the application:

    npm start

    The application should now be running on http://localhost:3000.

Usage

  • Admin routes:

    • /admin/signup, /admin/login, /admin/courses to manage courses.
  • User routes:

    • /users/signup, /users/login, /users/courses, /users/courses/:courseId, /users/purchasedCourses for user-related operations.

Tech Details

Provide more detailed information about your tech choices. Explain why you chose a particular stack, how components interact, and any other relevant technical details.

Contributing

Feel free to contribute to this project by opening issues or submitting pull requests. Follow the CONTRIBUTING.md guidelines.

Acknowledgments

This project draws inspiration from concepts and structures covered in a course assignment. While the course served as a learning medium, all implementations and customizations with regards to the codebase have been done independently.

Original Course Assignment

The course assignment that inspired this project can be found in the course repository and copy of my solutions. They provided valuable insights and served as a foundation for the development process.

I express my appreciation to the course instructorHarkirat Singh for creating educational content that contributed to the development of this project.

course-app's People

Contributors

md-aafaque avatar

Watchers

 avatar

course-app's Issues

[Potential Issue] Delayed update

#1 In the updateCourse page, on clicking the update button - first the alert pops up only then do the changes reflect in the courseCard component.

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.