Giter VIP home page Giter VIP logo

felipecodes / node-express-react-redux-zwitter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atulmy/node-express-react-redux-zwitter

0.0 0.0 0.0 183 KB

๐Ÿฃ A basic clone of Twitter (Boilerplate App) - Separate API (express+mongo) and Frontend (react+redux) folders using Node, Express, MongoDB, React (create-react-app), React Router v4 and Redux.

JavaScript 96.71% HTML 2.86% CSS 0.43%

node-express-react-redux-zwitter's Introduction

๐Ÿฃ Node Express/MongoDB + React/Redux App - Zwitter

A basic clone of Twitter (Boilerplate App) using - Node, Express, MongoDB, React and Redux using create-react-app with separate API (express+mongo) and Frontend (react+redux) folders. Uses Google's Material Design UI (material-ui package).

๐Ÿ“ Features

  • List all tweets
  • View single tweet
  • Post a tweet
  • Login / Register
  • Enable CORS
  • Progressive Web App features (Offline first, Service worker, Application shell)

โ–ถ๏ธ Running

  • Clone repo git clone [email protected]:atulmy/node-express-react-redux-zwitter.git zwitter
  • Install NPM modules for api cd api and npm install
  • Install NPM modules for frontend cd frontend and npm install
  • Run api server cd api and npm start (runs on port configured under api/src/config/index.js)
  • Run frontend server cd frontend and npm start (runs on port 3000 or your PORT environment, should automatically open in your browser)

๐Ÿ“ฆ Packages Used

API

  • bcrypt (Library to help you hash passwords)
  • body-parser (Parse incoming request bodies)
  • cookie-parser (Parse Cookie header)
  • express (Fast, unopinionated, minimalist web framework)
  • jsonwebtoken (JSON Web Token implementation)
  • lodash (Modular utilities)
  • moment (Parse, validate, manipulate, and display dates)
  • mongoose (MongoDB object modeling tool)

Frontend

  • classnames (A simple utility for conditionally joining classNames together)
  • immutability-helper (Mutate a copy of data without changing the original source)
  • material-ui (React Components that Implement Google's Material Design)
  • moment (Parse, validate, manipulate, and display dates)
  • react (Library for building user interfaces)
  • react-addons-css-transition-group (React CSSTransitionGroup add-on)
  • react-dom (React package for working with the DOM)
  • react-redux (Official React bindings for Redux)
  • react-router-dom (v4, A complete routing library for React)
  • react-tap-event-plugin (Facebook's TapEventPlugin)
  • redux (Predictable state container for JavaScript apps)
  • redux-devtools-extension (Redux DevTools extension)
  • redux-thunk (Thunk middleware for Redux)

๐Ÿ“ธ Screenshots

screenshot

๐Ÿ— Core Structure

zwitter
  โ”œโ”€โ”€ api (api.example.com)
  โ”‚   โ”œโ”€โ”€ src
  โ”‚   โ”‚   โ”œโ”€โ”€ config
  โ”‚   โ”‚   โ”œโ”€โ”€ models
  โ”‚   โ”‚   โ”œโ”€โ”€ routes
  โ”‚   โ”‚   โ”œโ”€โ”€ server.js
  โ”‚   โ”‚   โ””โ”€โ”€ index.js
  โ”‚   โ”‚
  โ”‚   โ””โ”€โ”€ package.json
  โ”‚
  โ”œโ”€โ”€ frontend (example.com)
  โ”‚   โ”œโ”€โ”€ public
  โ”‚   โ”œโ”€โ”€ src
  โ”‚   โ”‚   โ”œโ”€โ”€ actions
  โ”‚   โ”‚   โ”œโ”€โ”€ components
  โ”‚   โ”‚   โ”œโ”€โ”€ reducers
  โ”‚   โ”‚   โ”œโ”€โ”€ app.js
  โ”‚   โ”‚   โ””โ”€โ”€ index.js
  โ”‚   โ”‚
  โ”‚   โ””โ”€โ”€ package.json
  โ”‚
  โ”œโ”€โ”€ .gitignore
  โ””โ”€โ”€ README.md

โญ๏ธ Resources

๐ŸŽฉ Author

Atul Yadav - GitHub โ€ข Twitter

๐Ÿ“œ License

Copyright (c) 2017 Atul Yadav http://github.com/atulmy

The MIT License (http://www.opensource.org/licenses/mit-license.php)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

node-express-react-redux-zwitter's People

Contributors

atulmy 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.