This repository serves as a starting point for building applications using Express, React and Node.js. This template is designed to provide a foundation for building modern full stack web applications, with an easy to follow file structure.
This starter project is set up with Vite and Nodemon for a fast and efficient development server environment.
Feel free to modify based on your requirements. Happy building!
React: A modern front-end framework for building user interfaces
Express: A server side application framework to handle routing, API endpoints and middleware configuration
Node.js: A server side runtime environment
Vite: A build tool that provides a fast development environment
Nodemon: Automatically restarts your Node.js application when changes in directory files are saved
Before you begin, make sure you have the following installed:
- Node.js (v14+)
- npm or Yarn (latest version)
1. Clone the repository
git clone /~https://github.com/monkikat/ERN-Project-Template.git
2. Navigate into the directory hrough Terminal
cd ERN-Project-Template
3. Install dependencies
npm install
4. To run Vite development environment
cd client
npm run dev
4. To run Nodemon
cd server
npm run dev
The folder structure is divided into client
and server
folders, representing frontend and backend respectively. Here's an overview of the file structure:
project_name
|_ client //frontend code directory
|_ src //main application code including resuable components
|_server //backend code directory