A template repository that has all of the essentials for a Full Stack MERN app using JWT for authentication.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This repository is a template with all of the starter code for a basic MERN application with CRUD functionality and authentication using JSON Web Tokens for authentication.
The main functionalities include:
- An open read models with the ability for all users to read data
- Users can post data and only edit or delete things they have ownership over
- JSON Web Tokens for authentication
- React App designed with Styled Components
- Frontend connected with the backend that includes pages for:
- Data List Page
- User Dashboard Page
- User Post Page
- User Login Page
This particular app is based off of a job board. There are a lot of comments that can be used to edit and change things on the backend so that it works exactly how you want it. I am currently still working on connecting them both (mostly the frontend code) and putting in all of the functionality so that they work well together. After that I will go back and add comments so that it is easier to see how the components are connected.
To get a local copy up and running follow these simple example steps.
- npm
npm install npm@latest -g
- Clone the repo or use it as a template
git clone https://github.com/chris-a-phillips/mern-auth-template.git
- Install NPM packages
npm install
- Initialize the repository for npm
npm init -y
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Chris Phillips - Chris Phillips LinkedIn - phillipsachris@gmail.com
Project Link: https://github.com/chris-a-phillips/mern-auth-template