GithubHelp home page GithubHelp logo

dheia / whatsonsaigon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from urbn8/whatsonsaigon

1.0 0.0 0.0 105.99 MB

ApacheConf 0.02% PHP 48.51% JavaScript 23.53% CSS 21.41% HTML 6.33% Smarty 0.09% TypeScript 0.12%

whatsonsaigon's Introduction

What's on Saigon

Development Setup Guide

prerequisites

PHPUnit 4.8.x

  • NodeJs 6.x.x

  • Have Yarn installed. See (https://yarnpkg.com/en/docs/install)

  • Add export PATH="$PATH:$(yarn global bin)" to your ~/.bash_profile

  • Have gulp installed at global level with yarn add global gulp

October CMS

  • Have the project hosted on local Apache server and accessible at http://localhost/whatsonsaigon/.

  • ave a mysql database named whatsonsaigon created. Have user whatsonsaigon with password whatsonsaigon accessible to the database with the same name.

  • Open terminal, cd to the root of the project.

  • run php artisan october:up to create tables.

Semantic UI

  • Open terminal, cd to the root of the project.

  • Run npm run semantic-build to build semantic UI.

react

  • Open terminal, cd to the root of the project.

  • Enter yarn command to pull external dependencies. This might take a while.

  • Enter gulp. This should start the development server and watching files at themes/default/assets/scripts to recompile.

  • The react development server should now be started at http://localhost:5000.

  • Enjoy coding!

Urls

Backend url: http://localhost/whatsonsaigon/backend/urbn8/wos/eventcategories username/pass: admin/admin

October CMS Minimum System Requirements

October CMS has a few system requirements:

  • PHP 5.5.9 or higher
  • PDO PHP Extension
  • cURL PHP Extension
  • MCrypt PHP Extension
  • ZipArchive PHP Library
  • GD PHP Library

As of PHP 5.5, some OS distributions may require you to manually install the PHP JSON extension. When using Ubuntu, this can be done via apt-get install php5-json.

https://api.graph.cool/simple/v1/cj4jiyyppztzv0130z9strhq4

Relay:

https://sourcegraph.com/github.com/stems/join-monster-demo@master/-/blob/schema-basic/Post.js

https://dev-blog.apollodata.com/exploring-relay-modern-276f5965f827 https://sourcegraph.com/github.com/apollographql/relay-modern-hello-world/-/blob/schema.graphql

https://sourcegraph.com/github.com/jscomplete/learning-graphql-and-relay/-/blob/schema/main.js#L34:4

Mutations

https://sourcegraph.com/github.com/soonlive/relay-cart@master/-/blob/data/mutations/addToCartMutation.js#L41:49 https://sourcegraph.com/github.com/chrisbolin/understanding-relay-mutations@master/-/blob/examples/todo/server.js

Apollo:

https://sourcegraph.com/github.com/Quadric/perfect-graphql-starter@master/-/blob/package.json#L37:6-37:18

https://sourcegraph.com/github.com/apollographql/apollo-tutorial-kit/-/blob/server.js

https://sourcegraph.com/github.com/apollographql/apollo-server-tutorial@master/-/blob/data/schema.js#L16:2 https://github.com/apollographql/apollo-server-tutorial/pull/6/files

TODO

sample graphsql mutation on organisers

  • create
  • update

react consumes graphql server

  • create
  • update

intergate mobx-state-tree with relay

routing and server rendering

whatsonsaigon's People

Contributors

tiengtinh avatar tranthuhoang avatar

Stargazers

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