An open API service indexing awesome lists of open source software.

https://github.com/mohaiminul375/gadget_hub_server

A full-stack functional based Gadget Product website(server_side)
https://github.com/mohaiminul375/gadget_hub_server

cors dotenv expressjs mongodb

Last synced: 2 months ago
JSON representation

A full-stack functional based Gadget Product website(server_side)

Awesome Lists containing this project

README

          

# Gadget-Hub

- A full-stack functional based Gadget Product website

# Live_site: https://gadget-hub-375.web.app

# Server_Link: https://gadget-hub-server-seven.vercel.app

# Run the Project Locally

1. **Clone the Repository**:

```sh
git clone https://github.com/mohaiminul375/gadget_hub_server
cd gadget_hub_server
```

2. **Install Dependencies**:

```sh
npm install
```

3. **Set Up Environment Variables**: Create a `.env.local` file in the root directory and add the necessary environment variables. (**Important!**)

`Example:`

```sh
PORT=3000
MONGODB_URI=your-mongodb-connection-string
```

4. **Run the Application**:

```sh
nodemon index.js
```

5. **Access the Site**: Open your browser and go to `http://localhost:3000/` from other devices on the same network to view the application.

# website features

- This is functional base full-stack gadget product website where have 40 dummy product and use pagination each page contain 10 data.
- Register users can search their product by product name
- Also can sort by date and price

# Technology

- HTML, CSS, React (front-end)
- Express.js, MongoDB(back-end)
- Firebase(Authentication)
- Firebase,Vercel(host)

# npm and Packages(Backend)

- express
- mongoDB
- cors
- dotenv

# server Link

# https://github.com/mohaiminul375/gadget_hub_client