https://github.com/zmrdltl/task-flow-api
프로젝트 관리 웹 사이트 API
https://github.com/zmrdltl/task-flow-api
backend
Last synced: 4 months ago
JSON representation
프로젝트 관리 웹 사이트 API
- Host: GitHub
- URL: https://github.com/zmrdltl/task-flow-api
- Owner: zmrdltl
- License: apache-2.0
- Created: 2024-12-12T06:20:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-26T06:23:51.000Z (8 months ago)
- Last Synced: 2025-10-26T08:22:18.571Z (8 months ago)
- Topics: backend
- Language: JavaScript
- Homepage:
- Size: 99.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# task-flow-api
프로젝트 관리 웹 사이트 API \
[fronted](https://github.com/kimuihyeon222/task-flow)
## Prerequisite
To run this project, make sure you have the following installed:
- **Node.js**: >=18.0.0
- **npm**: >=10.5.0
- **MongoDB**: >=6.0.x
- **Mongosh**: 2.3.5
- **GraphQL**: 16.9.0
## Installation
### 1. Clone the repository
```bash
git clone https://github.com/zmrdltl/task-flow-api
cd task-flow-api
```
### 2. Install dependencies
```bash
npm i
```
### 3. setup environment variables
- create .env file in task-flow-api/
- add following content
```bash
PORT=4000
MONGO_URI=mongodb://127.0.0.1:27017/task-flow
```
### 4. start the development server
```bash
npm run dev
```
### 4. start the production server
```bash
npm start
```
## Project Structure
```plaintext
task-flow-api/
├── src/
│ ├── config/ # Environment configuration (e.g., database connection)
│ ├── graphql/ # GraphQL schema and resolvers
│ │ ├── schema/ # GraphQL type definitions
│ │ └── resolvers/ # GraphQL resolvers
│ ├── models/ # Mongoose models
│ └── index.js # Entry point of the application
├── .env # Environment variables (ignored in Git)
├── package.json # Project dependencies and scripts
└── README.md # Project documentation
```
## API attemptation
[localhost graphql](http://localhost:4000/graphql)

## Data visualization
[localhost voyager](http://localhost:4000/voyager)
