Code Monkey home page Code Monkey logo

zooproject's Introduction

zooProject

This is the repo will contain all starter service for zooProject. Please refer to this instruction for installation and testing of the project to ensure consistency between environment.

Develop environment requirement:

  • Most project will be on JDK 11 at version 11.0.2.
  • Database version will be Postgresql 11
  • Install Postman to test the APIs (or built-in Swagger)

Installation Instruction

  1. git clone https://github.com/nhatnguyen26/zooProject.git
  2. install postgresql (using Terminal):
    • For mac: use home brew:
      • brew update
      • brew install postgresql
    • Follow step to initdb:
      • createdb zoodb
      • psql zoodb
      • create user zoodb;
      • alter user zoodb with encrypted password 'ZooDBPassword';
      • grant all privileges on database zoodb to zoodb;
      • \q to exit psql console
      • cd dbScripts
      • ls | xargs -n 1 psql -U zoodb -d zoodb -f this will init all the starting tables
  3. Initial test to make sure set up work:
    • Run com.zoo.bookingService.application.BookingServiceApplication if using Eclipse or IntelliJ
    • In terminal, can use mvnw clean install springboot:run server should start
  4. Testing using Swagger: http://localhost:8080/swagger/index.html and test using UI

Working convention:

  • Github pro free but can't add protection branch.
  • For some initial functional code, it is ok to push to master
  • When start normally, DO NOT COMMIT TO MASTER!!!
  • Let's use branch work flow, branch out, PR review then merge.
  • Try to add unit test for all code added.
  • As start, it is ok to stub and leave code empty and still PR, but put TODO or TASK or FIXME to mark work need to be done.

Design Documents:

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.