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

https://github.com/sakib-333/crowdcube-server

Crowedcube is web based application where user can interact with others users ask for help, funding, share new ideas.
https://github.com/sakib-333/crowdcube-server

cors expressjs mongodb

Last synced: 2 months ago
JSON representation

Crowedcube is web based application where user can interact with others users ask for help, funding, share new ideas.

Awesome Lists containing this project

README

          

# Crowdcube: A Crowd Funding Application

This is a Node.js Express server that integrates several npm packages such as Express, MongoDB, CORS, dotenv. This one serves the client side of `Crowdcube`.

## Features

- **Express.js**: Web framework for building the server
- **MongoDB**: Database for storing user data and other information
- **CORS**: Enabling cross-origin requests for the server
- **dotenv**: Environment variable management

## Prerequisites

Make sure you have the following installed on your local machine:

- [Node.js](https://nodejs.org/)
- A **MongoDB** instance (either local or cloud-based like MongoDB Atlas)

## Installation

1. Clone the repository to your local machine:

```bash
git clone git@github.com:sakib-333/crowdcube-client.git

cd crowdcube-client
```

2. Install dependencies

```bash
npm install
```

3. Create a `.env` file root of the folder and all of your secret keys.

```bash
DB_USERNAME=

DB_PASSWORD=

```

4. Start server

```bash
node index.js
```

5. Your server should now be running on `http://localhost:3000`.