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.
- Host: GitHub
- URL: https://github.com/sakib-333/crowdcube-server
- Owner: sakib-333
- Created: 2024-12-13T04:26:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T06:27:24.000Z (over 1 year ago)
- Last Synced: 2025-02-05T07:27:12.998Z (over 1 year ago)
- Topics: cors, expressjs, mongodb
- Language: JavaScript
- Homepage: https://ph-b10-a10-server.vercel.app
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.