- Search Flights
- Buy Tickets
- Stripe Payment Integration
- Clerk Auth Integration
- Retrieve flight tickets
- Basic role-based accesses
- Logging with Morgan and Winston
- Easy develop and deploy with Docker/Docker Compose
- Docker and Docker Compose
- NodeJS and NPM
-
Copy
.env.exampleto.envin each folderfrontendandbackendand fill all the keys for Clerk and Stripe -
From root directory run following commands respectively (run the last scripts if you want to stop)
# To `run npm install` on backend and frontend folder
sh scripts/setup.sh
# To start up dev environment with docker, run
sh scripts/start-dev.sh
# To apply migration and seed mock data to database, run
sh scripts/seed.sh
# To stop all containers, run
sh scripts/clean-dev.sh- For payment, use mock data number from Stripe Docs. Only accept MasterCard or Visa.
