Skip to content

lukebrichey/SaveTheGaels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaveTheGaels

SaveTheGaels is my personal blog hosted here. It uses the MERN stack (MongoDB, Express, React, Node.js). The project supports admin authentication using Passport.js, authenticated users can then create, read, update, and delete blog posts (which are seen globally).

Getting Started

Note: this project requires a MongoDB database.

First, clone the repository and install dependencies using npm.

git clone https://github.com/lukebrichey/SaveTheGaels.git
cd SaveTheGaels
npm install

Usage

First, create a .env file in the backend directory using the following commands:

cd backend
touch .env

Then, initialize the following environment variables:

DEVELOPMENT_DATABASE_URI=<your_mongodb_uri>
DEVELOPMENT_SESSION_SECRET=<your_express-session_secret>

You can run the app locally using the following command in the project root:

npm run server

To start the development server, perform the following commands:

cd backend
npm run dev

To start the frontend, perform the following commands:

cd frontend
npm run start

License

MIT

About

Personal blog using MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages