Coder Social home page Coder Social logo

blogger-demo-backend's Introduction

Blogger project

Functional Requirement: https://docs.google.com/document/d/1mvd4GWxeuMcXh76O5w_zZTu5kzWF9tG8SQJxNhWPnK8/edit?usp=sharing

Blogger is splited into two part

  1. Frontend (Angular): https://github.com/havinhphu188/blogger-client
  2. Backend (Spring Boot): https://github.com/havinhphu188/blogger-demo-backend

Live demo (Deployed in heroku): https://simple-blogger-3000.herokuapp.com/

Prerequisite

  • Java 11
  • nodejs v15

Setup environment for frontend

  • run npm install
  • After all package is installed, run ng serve
  • Frontend is now served in http://localhost:4200/

Setup environment for backend

Database

  • Project is using postgres as relational database
  • script:
    • Schema: src\main\resources\schema.sql
    • Data for integration test: src\test\resources\data-for-testing.sql
  • username/password: By default, project is configured with username, password as below. Modification may be necessary to adapt local database.
    • username: postgres
    • password: asd123
  • Create 2 database with name below:
    • blogger-demo: import script schema.sql
    • blogger-integration-test: import schema.sql, data-for-testing.sql, respectively.

Run backend API

Run unit test & integration test

  • run mvnw test

Setup IDE for development

Postman API document specification

  • blogger-api-document.json (import into Postman to test API)

blogger-demo-backend's People

Contributors

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