A simple backend application for a would you rather game, written in TypeScript. This project aims to do things in a simple yet sophisticated manner.
I have tried my best to get rid of the need for third parties, including auto-injectors, http routers and even dedicated databases.
- NodeJS native HTTP solution;
- TypeScript;
- UUID;
Since the project was made with in-memory data in mind, your content will reset once the process ends.
It's been a while since I last published a public project, so I am trying to apply the concepts and techniques I have learned from last year.
It makes usage of DDD concepts but nothing super-extra fancy. SOLID principles are also present.
- First time routing things by hand instead of making usage of something fancier like express or fastify.
- I have never injected class dependencies by hand as well, and it is something I am willing to learn.
- Improving the organization of the project overall.
- Node v20.11 or above (Cannot guarantee lower versions will work, but you can try)
This project is compatible with yarn and pnpm, but it was done with npm in mind. With that said, the following command will install the dependencies for you.
npm install
If you wish to compile the TypeScript code
npm run start
Or if you don't feel like doing so
npm run dev
* You may experience problems running the project as it is still in development.