Coder Social home page Coder Social logo

mern-social-app's Introduction

MERN Stack App - Guide to Success

Description

This MERN (MongoDB, Express, React, Node.js) stack application is a guide to success where users can create, read, update, and delete posts about achieving success in life. It supports user authentication using JWT and Google login. State management is handled with Redux, and the app is styled using Tailwind CSS.

Table of Contents

Features

  • User Registration and Login (JWT and Google)
  • Create, Read, Update, Delete (CRUD) Posts
  • State Management with Redux
  • Styling with Tailwind CSS

Technologies

  • MongoDB
  • Express.js
  • React
  • Node.js
  • Redux
  • JWT for Authentication
  • Google OAuth for Authentication
  • Tailwind CSS

Installation

  1. Clone this repository.
  2. Navigate to the project directory, then to sever and client directory.
  3. Run npm install to install dependencies at server and client directories.
  4. Configure environment variables for MongoDB, JWT secret, and Google OAuth credentials.
  5. Run npm start to start the development server.

Usage

  • Visit the app in your browser at http://localhost:3000.
  • Register or log in to start using the app.
  • Create, read, update, and delete posts about success.

Authentication

  • User authentication is implemented using JSON Web Tokens (JWT) and Google login.
  • To enable Google login, provide your Google OAuth credentials in the environment variables.

CRUD Operations

  • Users can perform CRUD operations on posts.
  • Create: Click the "Create Post" button and fill out the form.
  • Read: Browse and view existing posts.
  • Update: Click the edit icon on a post and make changes.
  • Delete: Click the delete icon on a post to remove it.

State Management

  • Redux is used for state management.
  • Actions, reducers, and store configuration can be found in the src directory.

Styling

  • The app is styled using Tailwind CSS.

Contributing

Contributions are welcome.

License

This project is licensed under the MIT License.

mern-social-app's People

Contributors

lateefibrahim01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.