This is a sample project built with Nest.js and React.js where you can create your presentation, create an attendee and add it to your presentation.
live-demo The application may take a few seconds to start if the database or the provider is not up.
Technologies used on this project
- Nest.js is being used on the backend because it's the most useful for me to facilitate the process of creating the API, the setup is quite simple and the structure is well organized.
- I decided to use React mainly because it's the frontend framework I'm most comfortable with, I didn't felt like I needed to use Next.js here, since it was simple.
- Docker is being used here to host the API and the Database.
- Swagger is the tool I used to document the backend, it's quite simple and has a good integration with Nest.js
- I don't have a specific reason of why I used Postgres, but I'd say that it's because it's the one I'm most comfortable with
- Typescript is being used on the frontend and backend, helps to avoid bugs.
Here are the steps to reproduce this on your local machine.
Required tools
- npm or yarn
npm install npm@latest -g
npm install yarn@latest -g
- Docker https://www.docker.com/
Install and run
- Clone the repo
git clone https://github.com/LucianoPierdona/Presentations.git
- Install NPM packages
cd web && yarn cd server && yarn
- run docker compose (the process to compile Nest.js might take longer on Windows OS)
cd server && docker-compose build && docker-compose up
- run react
cd web && yarn start
- web and server urls
web: http://localhost:3000/ server: http://localhost:3001/
- server documentation url
http://localhost:3001/api