Skip to content

SUMMER24-R-Coffee/R-Coffee_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R'Coffee Server

About

R'Coffee Server is the backend component of the R-Coffee application, designed following the MVC (Model-View-Controller) architecture. This project is developed using Node.js, Express.js and Bootstrap 4 custom from Breeze-Free-Bootstrap-Admin-Template , providing APIs for the app and CRUD operations for management and authentication. Read more about Frontend

Installation

  1. Clone the repository:

    git clone https://github.com/SUMMER24-R-Coffee/R-Coffee_Server.git
    cd R-Coffee_Server
  2. Install dependencies:

    npm install
  3. Set up environment variables: Create a .env file in the root directory and add the necessary configurations:

    # MySQL
    DB_HOST=your_mysql_host
    DB_USER=your_mysql_user
    DB_NAME=your_mysql_database
    DB_PASSWORD=your_mysql_password
    DB_PORT=3306
    
    # Cloudinary
    CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
    CLOUDINARY_API_KEY=your_cloudinary_api_key
    CLOUDINARY_API_SECRET=your_cloudinary_api_secret
    
    # Email
    EMAIL_USER=your_email_user
    EMAIL_PASS=your_email_password
    
    #Stripe
    STRIPE_SECRET_KEY = your_secret_key
    
  4. Run the server:

    npm start

Usage

  • Access the server at http://localhost:3000.

Screens Shot

Login

Login

dasboard

Dasboard

product

Product

Detail Product

Detail Product

Order

Order

Order

Order Detail

Order

Order Detail

Order

Order Detail

Order

Order Detail

Baner

Baner

voucher

Voucher

Emp

Employee

Add

Modal Add

Edit

Modal Edit

Delete

Modal Delete

Contact

For any inquiries or feedback, please reach out to [email protected].

Note

This is not the final version, this application will be further improved in the future.