Giter VIP home page Giter VIP logo

meerkat's Introduction

Meerkat

This is a React app with Flux interacting with a Laravel API in a LEMP stack, a real-world full-stack example SPA.

  • ACL (access control list)
  • JWT authentication
  • CRUD implementation
  • REST API
  • Flux: actions, dispatchers and stores
  • Data-driven tests
  • Docker setup

Set up the Environment

Create an .env file:

cp .env.example .env

Bootstrap the development environment:

bash/dev/start.sh

Click here for further details on the start.sh script.

Local Set up

Finally, don't forget to add the following entry to your /etc/hosts file:

172.21.0.1      meerkat.local

To find out the IP of the meerkat_nginx container:

echo $(docker inspect -f '{{range .NetworkSettings.Networks}}{{.Gateway}}{{end}}' meerkat_nginx)

Run the Tests

docker exec -it --user 1000:1000 meerkat_php_fpm ./vendor/bin/phpunit

Screenshots

Figure 1. Homepage

Figure 2. Login page

Figure 3. Reviews page

Figure 4. Bob adding a restaurant

Contributions

Would you help make this app better?

  • Feel free to send a pull request
  • Drop an email at [email protected] with the subject "Meerkat"
  • Leave me a comment on Twitter

Thank you.

meerkat's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

romanom tvad911

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.