Coder Social home page Coder Social logo

pushpendra-1697 / school-listing Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.27 MB

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.

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

JavaScript 99.32% CSS 0.68%
bson cloudinary component cors dotenv expressjs fetch-api html-css-javascript inter-font mongodb

school-listing's Introduction

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)

school-listing's People

Contributors

pushpendra-1697 avatar

Stargazers

 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.