Skip to content

This project will deliver a comprehensive e-commerce API set that enables seamless school listing. The integration of MongoDB as the database and token management system ensures efficient data storage and user authentication with minimal server-side setup.

Notifications You must be signed in to change notification settings

Pushpendra-1697/School-Listing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

School-Listing

Overview For Backend

This project will deliver a comprehensive e-commerce API set that enables seamless school listing. The integration of MongoDB as the database and token management system ensures efficient data storage and user authentication with minimal server-side setup.

Live/deploy link on the render

https://school-listing-server.onrender.com/

Installation & Tech Stack

Clone the Repository from GitHub. Then do the following steps:

    npm init -y

    npm i express mongoose cors dotenv nodemon multer cloudinary

To run server (PORT = 8000)

    npm run server

Some HTTP (Hyper Text Transfer Protocol) Status Code Which I used :

 200 --->  OK/Success/get/put

 201 ---> Created/post

 202 ----> Delete Successfully

 204 ----> Delete Failure

 404 ---> Not Found/failure

NOTE: Used Timestamps & Date datatypes which allow by BSON.

Database Name:

    school-list

Schema

1) School:

Collection Name: schools

  • name --> String

  • image --> String

  • address --> String

  • city --> String

  • state --> String

  • phone --> Number

  • email --> String

NOTE: I used Thunder Client Extension for testing all REST APIs.

Routes / End Points tested by Thunder Client Extension :

1. /school/store: (POST)

Output: Success Message and data will store in MongoDB

2. /school/upload: (POST)

Using for upload the school image into schoolImages directory

Output: Success Message

3) /school/get: (GET)

Output: Retrieves all schools

Overview For Frontend

Live/deploy link on the Vercel

https://school-listing.vercel.app/

Installation & Tech Stack

Clone the Repository from GitHub. Then do the following steps:

    npm install

To run server (PORT = 3000)

    npm run dev

Form Validation

For Phone No Field

Should be 10 digit

For Email Field

should contain '@'

Some Screenshots for different screens

Screenshot (472) Screenshot (473) Screenshot (474) Screenshot (475) Screenshot (476) Screenshot (477) Screenshot (478) Screenshot (479) Screenshot (480) Screenshot (481)

About

This project will deliver a comprehensive e-commerce API set that enables seamless school listing. The integration of MongoDB as the database and token management system ensures efficient data storage and user authentication with minimal server-side setup.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published