Last edit: 2025-01-03
Welcome to Mongate, a template designed to help you quickly build web applications using MongoDB, Express.js, React (NEXT.JS), and Node.js. This template provides a ready-to-use setup with essential features like authentication, database integration, and API routing.
This guide assumes you already have Node.JS, a package manager of your choice, with a basic understanding of JavaScript and React.
To get started, clone the Mongate repositories to your local machine:
Frontend:
git clone https://github.com/colinguinane1/Mongate-Front-End.git
Backend:
git clone https://github.com/colinguinane1/Mongate-Back-End.git
Navigate to the project directory and install the dependencies for the frontend and backend:
Frontend:
cd Mongate-Front-End
npm install
Backend:
cd Mongate-Back-End
npm install
You should have an app structure like this:
Back-end:
Front-end:
The back-end has been configured with the popular Nodemon extension to restart the server when changes are detected. You can start both development servers with
npm run dev