Git Product home page Git Product logo

dockreactredux's Introduction

This project contains two mini projects.

  1. Main api server - root directory

  2. Frontend server - react app, using a development server with proxy

NEED TWO TERMINAL TABS

  1. npm start

  2. cd dock_frontend && npm start

**Development server on port 3000

http://localhost:3000

Api server will be live at

http://localhost:7190**

*NOTE:

To prevent cross origin requests I have set up a proxy server in React App... you can find it in dock_frontend/package.json*

REVISION 1.0

Create Event lifecycle complete with the following features

  1. Improved design for both mobile and web

  2. The Create event page makes use of states and session-storage hybrid approach to save state across one user session, switching between pages preserves the form data for create event.

  3. The data is sent as a post request, simplified and lightweight for the server

NOTES FOR REVISION 1.0

to start the project

  1. In the home directory - npm start this will start the api server
  2. navigate to dock_frontend folder - npm start this will start the development server, which currently has the react app

you will find the website on http://localhost:3000 you will find the api server on http://localhost:7190

The create event API requests are handled by the following files

{hostname}/events/api/... folder /api/events/index.js - handles all the requests for events

{hostname}/api/... folder /api/index.js - handles all the requests for general purpose interaction, login, logout, etc

TODO:

  • Handle the formdata and store in database
  • Handle file storage
  • Handle sending update to the mobile devices

dockreactredux's People

Contributors

ogil7190 avatar meetesh06 avatar

Watchers

 avatar  avatar

dockreactredux's Issues

index html missing

After setting up the project this is giving the error.
Error: ENOENT: no such file or directory, stat '/Users/vivekrajpoot/Downloads/DockReactRedux-master/dock_frontend/build/index.html'

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.