/Apple.com

Pear is a clone of Apple.com which is an American multinational technology company headquartered in Cupertino, California, United States.

Primary LanguageJavaScript

Pear.com

Pear is a clone of Apple.com which is an American multinational technology company headquartered in Cupertino, California, United States.

Features

  • Authentication
  • Authorization
  • Responsive
  • Cross platform

Tech Stack

Client: HTML, CSS, Javascript

Server: Node, Express

Run Locally

Clone the project

  git clone https://github.com/DanteHaxor/aromatic-desk-2443

Go to the project directory

  cd aromatic-desk-2443

Install dependencies

  npm install

Start the server

  node app.js

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

key

mongourl

PORT

API Reference

Welcome

  GET /api

User Register

  POST /api/user/register

User Login

  POST /api/user/login

Admin Register

  POST /api/admin/register

Admin Login

  POST /api/admin/login

All Products

  GET /api/products/

Add Products

  POST /api/products/addproduct

Update Products

  PATCH /api/products/update/:id

Delete Products

  DELETE /api/products/delete/:id

Screenshots

App Screenshot App Screenshot App Screenshot

Demo

https://pear-z5ta.onrender.com/

Authors