Skip to content

Kri-web/Assignment

Repository files navigation

Student Management System

The Student Management System is a web application that allows administrators to manage student records, including creating new students, listing all students, updating student information, and deleting student records.

Features

  • Create a new student with details like name, age, course, year of completion, and phone number.
  • List all students with pagination, sorting, and search functionality.
  • Update student information.
  • Delete student records.

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • joi

Prerequisites

Before running this application, make sure you have the following installed:

Node.js: https://nodejs.org MongoDB: https://www.mongodb.com

Getting Started

  1. Clone the repository:

    git clone https://github.com/Kri-web/Assignment.git

  2. Install the dependencies: npm install

  3. Create a .env file in the project root directory and add the following: MONGODB_URI= PORT=8082

Replace with your MongoDB connection URI.

  1. Start the application: npm start

  2. Open your browser and visit http://localhost:8082 to access the URL Shortener application.

API Endpoints

POST /students: Create a new student. GET /students: List all students. PUT /students/:id: Update a specific student by ID. DELETE /students/:id: Delete a specific student by ID.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published