Code Monkey home page Code Monkey logo

taco-cloud's Introduction

Taco Cloud

A sample project based on the examples in the book Spring in Action.

Development with H2 DB

The following are default configurations:

  • GUI for H2 is available at path /h2-console
  • DB URL (for in-memory) is jdbc:h2:mem:tacocloud (tacocloud because we changed the name in application file, otherwise by default it uses test)
  • Is not neccessary to define data.sql and schema.sql explicitly as Spring Data JPA will create tables for us by default.

Docker Development

To add your user to the Docker group:

sudo usermod -aG docker $USER

Developing with Cassandra

Run the following:

$ docker network create cassandra-net
$ docker run --name my-cassandra \
    --network cassandra-net \
    -p 9042:9042 \
    -d cassandra:latest
# Might need to wait a while for the container to be fully up and running
$ docker run -it --network cassandra-net --rm cassandra cqlsh my-cassandra

Developing with Mongo

Run the following to spin up container for MongoDB:

docker run -p 27017:27017 -d mongo:latest

Skip using Flapdoodle (the embedded DB) as it is not working following instructions provided.

taco-cloud's People

Contributors

kianyang-lee avatar

Watchers

 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.