8000 GitHub - Tonio2/boilerplate
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tonio2/boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

Description

This project is a full-stack application with a React frontend and an Express backend. It includes user authentication, email verification, password reset, and more.

For more detailed documentation, please refer to the prd.

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher) or yarn
  • MongoDB

Installation

  1. Clone the repository:
git clone https://github.com/your-username/your-repo.git
cd your-repo
  1. Install dependencies for both client and server:
# Install server dependencies
cd server
npm install

# Install client dependencies
cd ../client
npm install
  1. Create environment variable files:
# Server environment variables
cd ../server
cp .env.example .env

# Client environment variables
cd ../client
cp .env.example .env
  1. Update the .env files with your configuration.

  2. Start MongoDB:

sudo systemctl start mongod
sudo systemctl enable mongod

Running the Project

  1. Start the backend server:
cd server
npm run dev
  1. Start the frontend client:
cd client
npm start

Push to prod

  1. Update server/.env
env=production
  1. Start the app from server
npm run dev

Your app is accessible at http://localhost:500 and the api ar http://localhost:5000/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0