https://github.com/hakimamarullah/forum-api-garuda-game
ID Camp 2022 Proyek Pertama
https://github.com/hakimamarullah/forum-api-garuda-game
aws jwt-authentication nginx-proxy nodejs
Last synced: 2 months ago
JSON representation
ID Camp 2022 Proyek Pertama
- Host: GitHub
- URL: https://github.com/hakimamarullah/forum-api-garuda-game
- Owner: hakimamarullah
- License: bsd-2-clause
- Created: 2022-12-16T07:34:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:51:39.000Z (over 3 years ago)
- Last Synced: 2025-02-08T00:28:10.463Z (over 1 year ago)
- Topics: aws, jwt-authentication, nginx-proxy, nodejs
- Language: JavaScript
- Homepage: https://evil-pig-22.a276.dcdg.xyz/
- Size: 197 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Forum API Garuda Game
## ID Camp 2022


## Jest Coverage





### How to run locally
prerequisite: `nodejs v16.x`
1. Install dependencies
```
git clone https://github.com/hakimamarullah/forum-api-garuda-game.git
cd ~/forum-api-garuda-game
npm install
```
2. Please check .env.example file to see all needed values then run following commands
```
npm run migrate up # create tables for development
npm run migrate:test up # create tables in test database
```
3. Run it using this command (choose one)
```
npm run start # no auto-reload
npm run start:dev # auto-reload on code change
```
4. Server is up and running on `http://localhost:5000` or based on your environment setup
> Check out Postman Docs for all endpoints:
[Forum API V1 DOCS](https://documenter.getpostman.com/view/19278069/2s8Z72Vrxn)
> Check this link if you want to try live version: https://evil-pig-22.a276.dcdg.xyz/
> **Deployment**: \
**VM**: AWS EC2 \
**Database**: AWS RDS PostgresSQL \
**Reverse-Proxy**: Nginx \
**Certificate**: Certbot