Computato is a web application that allows users to check if their computer can run various games. The application consists of a frontend built with React and Vite, and a backend built with Node.js, Express, and Sequelize using PostgreSQL.
- User authentication and authorization 🔐
- Game search and filtering 🔍
- Display game details and requirements 📋
- Infinite scrolling for game lists 🔄
- Responsive design 📱
- Node.js (v14 or higher)
- PostgreSQL
-
Navigate to the
backend
directory:cd backend
-
Install the dependencies:
npm install
-
Create a
.env
file in thebackend
directory and add the following environment variables:DB_HOST=your_database_host DB_PORT=your_database_port DB_DATABASE=your_database_name DB_USER=your_database_user ACCESS_TOKEN_SECRET=your_access_token_secret REFRESH_TOKEN_SECRET=your_refresh_token_secret RAWG_API=your_rawg_api_key EMAIL_HOST=your_email_host EMAIL_PORT=your_email_port EMAIL_USER=your_email_user EMAIL_PASSWD=your_email_password
-
Start the backend server:
npm run start
-
Navigate to the
frontend
directory:cd frontend
-
Install the dependencies:
npm install
-
Start the frontend development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
to access the frontend application. - Use the search bar and filters to find games and check if your computer can run them.
- Log in or sign up to access additional features.
.env
.gitignore
backend/
.env
.gitignore
config/
controllers/
doc/
logs/
middleware/
models/
package.json
README.md
routes/
server.js
frontend/
.DS_Store
.gitignore
eslint.config.js
index.html
package.json
README.md
src/
vite.config.js
LICENSE
package.json
README.md
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
For any questions or inquiries, please contact the project maintainer.