Backend repository for website newanigram.net. This is just a lite version of Instagram, made by me in free time.
- expressJS: https://expressjs.com/
- GraphQL: https://graphql.org/
- Jest: https://jestjs.io/en/
- AWS: ECS, ECR, EC2, VPC, Route53, CloudFront, Application/ Network Load Balancer, CodeDeploy
1. Complete AWS settings
Firstly, you need to complete your AWS credentials in these two files
- src/utils/constants.ts (for developing)
- .github/workflows/aws.yml (for deploying service to ECS - in here, you need to fill in the ECS, ECR related information)
2. Install packages
$npm run install (dependencies and devDependencies)
$npm run install --onyl=prod (depedencies only)
3. Build and Run App
3.1 Build App
$npm run build
3.2. Run App
- In one command way:
$npm run start:dev
- In two commands way:
$npm run build $npm run start
Server will run at address: localhost:3000
4. Run Unit Test
$npm run test
Made with