Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

115 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matcha Cover

Matcha

Matcha is a full-stack dating web application featuring authentication (including 42 OAuth), user profiles, likes/matches, Block/report, real-time notifications, and real-time chat.


Requirements

  • Docker
  • Docker Compose

Environment Variables

1) Root (project root) — .env

Create a file named .env in the project root:

POSTGRES_USER=matcha
POSTGRES_PASSWORD=matcha
POSTGRES_DB=matcha
POSTGRES_PORT=5432

2) Backend — backend/.env

Create a file named .env inside the backend/ folder:

APP_PORT=8000
INFO_MODE=true
ERROR_MODE=true
JWT_SECRET=RANDOM
BACKEND_ENDPOINT=

FORTYTWO_CLIENT_ID=u-sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
FORTYTWO_CLIENT_SECRET=s-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
FORTYTWO_CALLBACK_URL=http://127.0.0.1:8080/api/oauth/42/callback
FRONTEND_URL=http://127.0.0.1:8080/

SMTP_HOST=smtp.mailersend.net
SMTP_PORT=587
SMTP_SECURE=false

SMTP_USER=edit it after(MS_NP9sZi@test-xkjn41mqqj94z781.mlsender.net****)
SMTP_PASS=edit(**mssp.JO9vyDy.zr6ke4nkxe34on12.OjUznP9**)

SMTP_FROM=123("Matcha MS_NP9sZi@test-xkjn41mqqj94z781.mlsender.net")

3) Frontend — frontend/ .env.local

Create a file named .env.local inside the frontend/ folder:

NEXT_PUBLIC_BACKEND=/api

Run the Project

From the project root directory:

docker-compose up -d

Access

Stop

docker-compose down

About

This project aims to create a dating website.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages