This is Etiqa assigment for me.
- NextJs (Custom server)
- PostgresSQL
- Copy
.env.example
to.env
- Update the value according to your environment
- run
npm run dev
ornpm start
- navigate to
http://localhost:4000
. (On server. It will always binding to 0.0.0.0) - U can use docker also
- Magic..
- nope. Using nextjs stack. Which is suitable for this case. Unless pure API, i will go with
fastify
- There is sooo many many way it can be improved, enhance and turbocharge. But I don't have enough time to unleash all