Skip to content

Blog app built with React, Redux, Node, Express, Passport, MongoDb

License

Notifications You must be signed in to change notification settings

Steve-Reid/Blog-App

Repository files navigation

Blog App

A React Redux blogging demo app with a node/express API and MongDB database. The app uses PassportJS and OAuth2 for authentication, and a Redis cache.

The app also connects to an AWS S3 bucket for image uploads and retrievals.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To install the app the following is required:

Using the prerequisites above, create a dev.js file in the config directory.

module.exports = {
  googleClientID: "<your.googleClientID>"
  googleClientSecret: "<your.googleClientSecret>",
  mongoURI: "<your.mongoURI>",
  cookieKey: "<your.key>",
  redisUrl: "redis://127.0.0.1:6379",
  accessKeyId: "<your.S3.accessKeyId>",
  secretAccessKey: "<your.S3.secretAccessKey>"
};

Installing

To get a development env running

Get the code

git clone https://github.com/Steve-Reid/Blog-App.git

Install the node dependencies on the server

cd Blog-App
yarn

Install the node dependencies on the client

cd Blog-App/client
yarn

Start the servers

cd Blog-App
yarn run dev

Feel free to use npm instead of yarn if you prefer.

Running the tests

The test suite was built using Jest and Puppeteer

To run the tests

yarn run test

Built With

License

This project is licensed under the ISC License - see the LICENSE.md file for details

About

Blog app built with React, Redux, Node, Express, Passport, MongoDb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published