https://github.com/mnxmnz/nestjs-playground
Learning NestJS with Hands-On Labs
https://github.com/mnxmnz/nestjs-playground
nestjs rest-api typeorm
Last synced: 3 months ago
JSON representation
Learning NestJS with Hands-On Labs
- Host: GitHub
- URL: https://github.com/mnxmnz/nestjs-playground
- Owner: mnxmnz
- Created: 2025-03-15T05:18:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-15T14:39:25.000Z (over 1 year ago)
- Last Synced: 2025-03-15T15:30:14.071Z (over 1 year ago)
- Topics: nestjs, rest-api, typeorm
- Language: TypeScript
- Homepage:
- Size: 458 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NestJS Playground
## 1. Database schema diagram

## 2. Getting Started
### 2-1. Installation
1. Clone the repository
```bash
git clone https://github.com/mnxmnz/nestjs-playground.git
```
2. Navigate to the project directory
```bash
cd nestjs-playground
```
3. Install dependencies
```bash
npm install
```
4. Create a .env file with the following environment variables
```bash
POSTGRES_HOST=""
POSTGRES_PORT=""
POSTGRES_USER=""
POSTGRES_PASSWORD=""
POSTGRES_DB=""
```
5. Run Database (Docker)
```bash
docker-compose up -d
```
### 2-2. Running the Application
To start the development server
```bash
npm run start:dev
```
The application will open in your default browser at `http://localhost:8008`
Access the Swagger API documentation at `http://localhost:8008/api`