Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sm-noushan/task-management-server-bytebux
Client
https://github.com/sm-noushan/task-management-server-bytebux
cors expressjs mongodb mvc-pattern
Last synced: about 1 month ago
JSON representation
Client
- Host: GitHub
- URL: https://github.com/sm-noushan/task-management-server-bytebux
- Owner: SM-Noushan
- Created: 2024-07-10T14:19:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T05:18:17.000Z (6 months ago)
- Last Synced: 2024-10-21T20:32:01.813Z (3 months ago)
- Topics: cors, expressjs, mongodb, mvc-pattern
- Language: JavaScript
- Homepage: https://github.com/SM-Noushan/task-management-client-bytebux
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task Management Server
## Overview
This repository contains the server-side code for the Task Management application. It provides the API endpoints to manage tasks, including creating, retrieving, updating, and deleting tasks.
## Setup
### Prerequisites
Before you begin, ensure you have the following installed on your system:
- [Git](https://git-scm.com/downloads)
- [Node.js](https://nodejs.org/) (LTS version recommended)### Installation
1. Clone the repository:
```bash
git clone https://github.com/SM-Noushan/task-management-server-bytebux
cd task-management-server-bytebux
```2. Install dependencies:
```bash
npm install
```### Environment Setup
1. Create a `.env` file in the root directory of the project and add the following environment variables:
```dotenv
DB_USER =
DB_PASSWORD =
```Replace `DB_USER` and `DB_PASSWORD` as well as `MongoDB url in db.config` with your specific configuration.
## Running the Server
1. If you don't have nodemon installed globally, you can use npx:
```bash
npx nodemon index.js
Installing Nodemon Globally
```2. If you prefer to install nodemon globally, use the following command:
```bash
npm install -g nodemon
```3. Then to run the server locally, use the following command:
```bash
nodemon index.js
```This will start the server and make your API accessible at [http://localhost:8000](http://localhost:8000) (or your specified port).
## API Documentation
For detailed information on API endpoints, refer to the [API Documentation](https://github.com/SM-Noushan/task-management-client-bytebux) in the front-end repository's `README.md`.
Thank you!