1.0.7 • Published 5 months ago

mernkit v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

mernkit

mernkit is a starter kit for building MERN (MongoDB, Express.js, React, Node.js) full-stack applications. It provides a basic project structure with pre-configured frontend and backend templates.

Getting Started

Prerequisites

Before you begin, make sure you have the following installed:

Installation

To create a new MERN project, run the following command:

npx mernkit my-mern-project

Project structure

my-mern-project
|-- backend
| |-- controllers
| |-- config
| |-- models
| |-- routes
| |-- .env
| |-- .gitignore
| |-- index.js
| |-- package.json

|-- frontend
| |-- public
| |-- src
| | | --assets
| | | |-- images
| | | |-- svg
| | | --components
| | | --Pages
| | | --App.jsx
| |-- .gitignore
| |-- package.json

Usage

cd my-mern-project
cd backend
npm install
node index.js

Backend starts on whichever port you define in .env folder

cd frontend
npm install
npm run dev

Front-end starts on localhost:5173 (vitejs defined port)

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago