Coder Social home page Coder Social logo

kostadinlambov / kl-instagram Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 8.39 MB

Stateful app built with Spring Boot, MySQL and Vue.js.

License: MIT License

Java 47.05% JavaScript 15.77% HTML 0.17% Vue 36.44% CSS 0.01% Dockerfile 0.55%
vuejs2 vuex3 vue-router3 vuelidate vue-resource vuex-persistedstate spring-boot spring-security jwt-authentication springdata-jpa

kl-instagram's Introduction

kl-instagram

The application is a Stateful app built with Spring Boot, MySQL and Vue.js.

Features:

  • Routing
  • User authentication: Register/Login/Logout
  • 3 User Roles: Root, Admin and User
  • Promoting/Demoting users to Admin/User
  • Deleting users
  • Editing user profile
  • Following/Unfollowing users
  • Creating posts
  • Creating comments
  • Liking posts

Requirements

  1. Java 11

  2. In order to be able to save Images you need to sign up to Cloudinary and enter your credentials in the application.properties file of the Spring Boot app (instagram\server\src\main\resources\application.properties)

Start the app

Option 1 - Start the Client and the Server manually

1. Start the Client

To start the Client you need to enter the instagram/client folder:

$ cd instagram/client

Install all dependencies:

$ npm install

Run the app in the development mode:

$ npm run serve

Open http://localhost:8080 to view it in the browser.

2. Start the Server

Go to the root directory of the Spring Boot app:

$ cd instagram/server

Start the Server:

$ mvn spring-boot:run

The Server is running on port 8000.

Option 2 - Start the application in Docker

  1. Start the application

Go to the project directory( instagram/ ) and run:

$ docker-compose up -d

The front-end server will start on port 9090. To open it enter in your browser:

$ http://localhost:9090
  1. Stop the application

You can stop the containers with:

$ docker-compose down

App screenshots

  1. Home Page

App Screenshot

  1. People Page

App Screenshot

  1. User Feed Page

App Screenshot

  1. Post Page

App Screenshot

kl-instagram's People

Contributors

kostadinlambov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sandhya0423

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.