Coder Social home page Coder Social logo

picuniwebapp's Introduction

Picuni

This is the result of my work during Tet holiday.

Updated server

Warning: Don't use redis! It has some bugs, of course I added some fixed code inside connector-redis (in node_modules) due to the issues from github, but it's not stable for only using :

npm install

If you want to use redis, contact me for the fast fixed code, or you could try a little bit on official github of loopback-connector-redis.

Unfinished part

Sliding effect between GlobalFeed and DetailPost

Found Issues

  • Pressing Enter on URL causes reloading all pages, and we have to login again, I'm trying to fix this by checking LocalStorage at the beginning.
  • The interface might be broken on Safari, I'm also trying to figure out.

System requirement

  • Nodejs version > 5.
  • Mysql (recommend using MAMP)
  • Currently, I'm using MacOSX 10.11.6, so if something's wrong on windows or ubuntu, please tell me, thank you.

Setup the system

  • Server:

    • Go to ./Server/server then create folders:

      ./storage/container1

    • Go to ./Server then:

      npm install
      
    • Setup your mysql database from:

      ./Server/server/datasources.json

    • From mysql, create a database called "Picuni"

    • Go to ./Server then:

      node .
      
    • You can check the Loopback server and all APIs from:

       localhost:3000/explorer 
      
  • React:

    • Go to ./React then:

      npm install
      
    • You might want to setup your own Facebook Login:

      ./React/app/redux/containers/Login.js

      replace *appId="253580248403665"* by your appId
      
    • You might want to setup your own Loopback server ip:

      ./React/app/api/config.js

    • You might want to setup your own React server:

        *./React/configs/webpack_dev.js*
         
        remember to change the URI from Facebook Developer
      
    • Go to ./React then:

      npm run dev
      
    • You can check the React server from:

       localhost:3111 
      

picuniwebapp's People

Contributors

vjtc0n avatar

Watchers

James Cloos avatar  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.