- Play Connect4 locally
- Load your game from the cloud at any time, and finish it whenever you can!
- Responsive view for mobile gaming
- Improved with accessibility features!
- NextJS
- React Bootstrap
- React Redux
- Redux Toolkit
- date-fns
- axios
- node postgres
- Typescript
- Deployment using Vercel
- Remote DB using ElephantSQL
To get started, just clone the repository and run npm install && npm run dev
:
git clone https://github.com/toni783/connect4.git
npm install
npm run dev
Note: This project needs to be connected to a database to properly work as expected, please check the Database Setup for configuring the project properly on a local environment
The project is using Postgres as the relational database on the backend side. You can run the project locally using the following scripts in your local Postgres server.
Once the database is in place you can create locally an env.local file and replace the values with your local setup values,please check the env.local.example as a guideline for the env variables values
If you don't have Postgres you can read more about installation and setup on the following links:
API contracts used on the app -> link