NoYE's personal tech blog
export NODE_ENV=production
export SENTRY_DSN="SENTRY_DSN"
export SESSION_SECRET="SESSION_SECRET"
export JWT_SECRET="JWT_SECRET"
export GOOGLE_CLIENT_ID="GOOGLE_CLIENT_ID"
export GOOGLE_CLIENT_SECRET="GOOGLE_CLIENT_SECRET"
export GOOGLE_REDIRECT_URI=http://localhost:3000/api/v1/user/google/callback
export MYSQL_HOST=localhost
export MYSQL_PORT=3306
export MYSQL_DATABASE=bon_test
export MYSQL_USERNAME=test
export MYSQL_PASSWORD=test
export AWS_ACCESS_KEY_ID="AWS_ACCESS_KEY_UD"
export AWS_SECRET_ACCESS_KEY="AWS_SECRET_ACCESS_KEY"
export AWS_DEFAULT_REGION="AWS_DEFAULT_REGION"
install dependencies
$ npm i
compile typescript and build next.js
$ npm run build
start database(mysql)
$ docker-compose up -d
create database
$ chmod +x ./bin/create-db && ./bin/create-db
migrate typeorm entity
$ npm run typeorm:run
start server
$ node dist
- Node.js
- Typescript
- Express.js
- FP-TS
- TypeORM
- Typescript
- React.js
- Next.js
- MobX
- Material UI
- Github Actions
- Nginx
- MySQL
- AWS
- S3
- ECS
- EC2