This project is part of the NWL Expert Node.js course. It's a voting poll application that uses a variety of technologies to provide a real-time, interactive voting system.
- Docker: Used for creating isolated environments to run the application.
- Node.js: The main runtime environment for the server-side logic.
- TypeScript: A superset of JavaScript that adds static types, used to write safer and more understandable code.
- Redis: An in-memory data structure store used as a database, cache, and message broker.
- WebSockets: A communication protocol that provides full-duplex communication channels over a single TCP connection, used for real-time updates.
- Fastify: A web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.
- Prisma: A modern database ORM toolkit used to access databases in Node.js and TypeScript.
Here are some commands that you might find useful:
npx prisma studio
: Opens the Prisma Studio, a visual interface for your database.npx prisma migrate dev
: Applies database migrations.npm run dev
: Starts the development server.docker-compose up -d
: Starts the Docker containers in the background.
Please ensure that you have the necessary environment set up before running these commands.
We're constantly working on improving this project and adding new features. Stay tuned for more updates!