Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

y25 Main branch

Requirements:

  • MySQL 8.0 or higher
  • Node.js 14 or higher
  • npm 6 or higher
  • Git
  • Tmux (optional, for terminal multiplexing)
  • Linux-based OS (for correctly developer system queries)

Step to reproduce:

  1. Clone the repository:
git clone https://github.com/toonzzzrock/y25
cd y25
  1. Source the SQL file to set up the database:
mysql -u <your_username> -p
source path/to/sql/main.sql;
exit;
  1. Place the .env files in each of the three directories: admin, developer, and home-page. Make sure to configure the database connection settings in each .env file according to your MySQL setup.

Example .env content:

# MySQL Database Configuration (use production database)

MYSQL_HOST=localhost
MYSQL_USER=<your_username>
MYSQL_PASSWORD=<your_password>
MYSQL_DATABASE=Y25_DB
MYSQL_CONNECTION_LIMIT=20

# API Configuration

NEXT_PUBLIC_API_URL=http://localhost:8000
PEPPER_KEY=5171483f1412bb4b7fc262551eafdcd917b34ed85ccb9a1342c509d1f3016e61 # Example pepper key used in development
  1. Install dependencies and run each part of the project:

For admin, developer, and users:

cd admin
npm install
npm run dev
cd developer
npm install
npm run dev
cd home-page
npm install
npm run dev
  1. Access the applications in your web browser:

Password for admin is

  • username: NormalAdmin
  • password: NormalAdmin1234!

Password for developer is

  • username: NormalDev
  • password: NormalDev1234!

Password for normal users:

  • username: NormalUser
  • password: NormalUser1234!

Password for publisher users:

  • username: NormalPub
  • password: NormalPub1234!

Showcase

Admin Page:

admin

Developer Page:

dev

Home Page:

Main Page:

home_page

Community Page:

commu

Publisher Page:

publisher

About

Database Lab Project

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages