Code Monkey home page Code Monkey logo

fullstack-calendar's Introduction

Event App React-Redux Already Packaged

Website Demo

Server Side Rendering Application

  • git checkout ssr || git checkout non-ssr

Setup

  • run npm install

RUN

  • running dev (hot reloading)

    • cd FullStackCalendar && npm run start:dev
    • FullStack app will be running on port 8000 e.g http://localhost:8000
    • Development on the front-end open a seperate terminal,
      • cd CalendarFrontEnd && npm start
    • App will be running on port 3000
  • running production

    • cd CalendarFrontEnd && npm run build
    • cp build/* -r ../FullStackCalendar
    • npm start

Features

  • Local Persisted Authentication + user have to be logged to create an event
    • user can only modified and delete polls s/he created
      • user will be promted with a notification

APIs

  • Rules
    • all backend routes start with '/api', e.g. localhost:8000/api/polls'
    • you have to be logged in to access most routes, e.g, post, put and delete routes

Backend

- Rules
+ all backend routes start with '/api/v1/', e.g. http://localhost:3001/api/polls'
+ you have to be logged in to access most routes, e.g, post, put and delete routes

POST /events

+ create a new event

GET /events

+ returns all events with their options 

DELETE /events/:id

+ deletes a event, all its associated voting records will also be deleted

PUT /events/:id

+ update an existing event.  

fullstack-calendar's People

Watchers

 avatar

Forkers

ericsei

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.