This is a sample server to accompany the ECS-Fargate Repository that can be used to experience AWS deployment.
Many thanks to Jiecheng Dong and Alexander Infante for their support and mentorship, and Sabrina Goldfarb for making the AWS project possible.
The server has the root (/) and /pug endpoint available for use.
The server is best run within a dockerized environment.
- If you have Docker desktop installed, ensure the software is running
- Clone the repository to your local environment
- In terminal, run:
docker compose up -d sample-server && docker compose exec sample-server npm run dev
- Use Postman, Bruno or equivalent to test the server
Alternatively, this repository is equipped to utilize VS Code Dev Container to open the code inside a dockerized environment. To do so:
- Open the project in a VS code
- Follow prompts to reopen folder to develop in a container
- In terminal, run
npm run devto start your server
See deployment-guide.md in the ECS-Fargate repository.