Coder Social home page Coder Social logo

bgpgfelipe / hello-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from varunon9/hello-react

0.0 0.0 0.0 1.38 MB

A simple web app based on MERN stack (Mongo, Express, React, NodeJS and Webpack)

License: MIT License

JavaScript 97.04% HTML 2.96%

hello-react's Introduction

hello-react

A simple web app based on MERN stack (Mongo, Express, React, NodeJS and Webpack) useful for beginners.

Functionalities

  1. Login and Signup
  2. Authentication using 'browser localstorage' and 'react-router V4' in front-end as well as jsonwebtoken in backend
  3. Upon successful login user can visit Dashboard
  4. User can search his favourite places on dashboard and records will be saved (using Google Place Autocomplete)
  5. On refresh of dashboard, all saved places will be displayed

Using Google Place Autocomplete API

  1. Get your Google Place Autocomplete API key (https://developers.google.com/places/web-service/get-api-key)
  2. Put this in ../path/hello-react/server/config/config.json as placeApiKey property
  3. Open file ../path/hello-react/server/routes/dashboard.js
  4. Follow instructions written in comments in '/get/placeSuggestions' post route method
  5. Even if you don't use Place Autocomplete API, project will work just fine with predefined places suggestions.

How to run

  1. Open a terminal Ctrl + Alt + T
  2. Move to desired location cd Desktop
  3. Clone the repo git clone https://github.com/varunon9/hello-react.git
  4. Go inside project cd hello-react/
  5. Install dependencies npm install
  6. Start mongodb server sudo service mongod start
  7. Run project using nodemon nodemon
  8. Visit http://localhost:3000/ in browser

Screenshots

Home Screen Place Suggestions Screen
Login Screen Signup Screen
Dashboard Screen

Other Resources-

  1. Getting started with react-native- https://github.com/varunon9/hello-react-native
  2. Admin Dashboard developed in react, redux, node.js - https://github.com/varunon9/admin-panel-template-react

For query/issues create Github issue or contact: [email protected]

hello-react's People

Contributors

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