This repository provides full source code of a phonebook web app, allowing CRUD operations on contacts and groups via RESTful API written in Spark Java.
- Java 8
Clone the repository:
git clone https://github.com/shreelekha/phonebook.git
We are using Gradle build system. The Gradle binary is located at: ./gradlew
.
- Execute:
~$ ./gradlew run
- Open
http://localhost:4567/
in browser.
- Frontend:
AngularJs
1.6 andTwitter Bootstrap
.- The source code of front-end dashboard is located at
src/main/resources/public/
.
- Backend:
- Database:
SQLite
- The database schema is located at
db/schema.sql
. - The database file is located at
db/databse.db
.
- The database schema is located at
- REST API:
- The postman collection is located at:
src/main/postman/Phonebook.postman_collection
.
- The postman collection is located at: