All Projects → Rob-Leggett → Angular_websockets_security

Rob-Leggett / Angular_websockets_security

Licence: mit
AngularJS, Websockets, Restful, Spring, Spring Security, Hibernate, Bootstrap, Gulp in ES6, Maven

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Angular websockets security

MyNewProject
Legacy Spring MVC
Stars: ✭ 19 (+72.73%)
Mutual labels:  spring-security, spring-mvc
BusinessInfrastructurePlatformGroupVersion
A java web project based on Spring Boot using MySQL, Spring MVC, Hibernate, Spring Data JPA, Query DSL, Lombok, Logback, etc.
Stars: ✭ 90 (+718.18%)
Mutual labels:  spring-security, spring-mvc
online-shopping
This is an online shopping project using Spring Boot,Spring web-flow, Spring Rest Services and Hibernate. In this project we also used Spring Security with java and annotation configuration
Stars: ✭ 34 (+209.09%)
Mutual labels:  spring-security, spring-mvc
Spring-Boot-2
Spring Boot 2.x examples
Stars: ✭ 33 (+200%)
Mutual labels:  spring-security, spring-mvc
Spring Boot Demo
spring boot demo 是一个Spring Boot、Spring Cloud的项目示例,根据市场主流的后端技术,共集成了30+个demo,未来将持续更新。该项目包含helloworld(快速入门)、web(ssh项目快速搭建)、aop(切面编程)、data-redis(redis缓存)、quartz(集群任务实现)、shiro(权限管理)、oauth2(四种认证模式)、shign(接口参数防篡改重放)、encoder(用户密码设计)、actuator(服务监控)、cloud-config(配置中心)、cloud-gateway(服务网关)等模块
Stars: ✭ 323 (+2836.36%)
Mutual labels:  spring-mvc, spring-security
Spring
Personal notes of preparation to Spring 5 Professional Certification
Stars: ✭ 35 (+218.18%)
Mutual labels:  spring-security, spring-mvc
Spring5Certification
Spring Certification: This repository contains my examples and some best references to prepare the Spring 5 certification
Stars: ✭ 30 (+172.73%)
Mutual labels:  spring-security, spring-mvc
spring-tiles-sample-app
Spring MVC - Apache Tile - AdminLTE Bootstrap template - Sample Application
Stars: ✭ 33 (+200%)
Mutual labels:  spring-security, spring-mvc
Servletjsptutorial
《Servlet & JSP 技術手冊 - 從 Servlet 到 Spring Boot》相關資源
Stars: ✭ 25 (+127.27%)
Mutual labels:  spring-mvc, spring-security
Spring Boot Enterprise Application Development
Spring Boot Enterprise Application Development.《Spring Boot 企业级应用开发实战》
Stars: ✭ 261 (+2272.73%)
Mutual labels:  spring-mvc, spring-security
spring-examples
Starter projects with Spring using Java and Kotlin. Contains modules that covers Security with JWT, Spring with Kotlin, Dependency injection simplified etc.
Stars: ✭ 33 (+200%)
Mutual labels:  spring-security, spring-mvc
Spring Lemon
Helper library for Spring Boot web applications
Stars: ✭ 529 (+4709.09%)
Mutual labels:  spring-mvc, spring-security
project-tracking-system-backend-app
Enterprise project tracker, tracks commits done by employees after getting assigned to a couple of projects by their managers
Stars: ✭ 62 (+463.64%)
Mutual labels:  spring-security, spring-mvc
spring-boot-shop-sample
My first web application using Spring Boot framework.
Stars: ✭ 66 (+500%)
Mutual labels:  spring-security, spring-mvc
JavaFamily
【Java面试+Java学习指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。
Stars: ✭ 517 (+4600%)
Mutual labels:  spring-security, spring-mvc
gro-light-automation
A raspberry pi project to automate hydroponics with relays and data sensors through a web application
Stars: ✭ 44 (+300%)
Mutual labels:  spring-security, spring-mvc
spring-boot-web-application-sample
Real World Spring Boot Web Application Example with tons of ready to use features
Stars: ✭ 143 (+1200%)
Mutual labels:  spring-security, spring-mvc
Valley-eCommerce-prototype
An eCommerce website prototype with a layered architecture and MVC using Spring Boot v1.2, Spring Security, Hibernate, and Apache Lucene for full-text searching. for front-end: Bootstrap, Typeahead.js and Graph.js using Thymeleaf as RE.
Stars: ✭ 28 (+154.55%)
Mutual labels:  spring-security, spring-mvc
oauth-provider-sample
A Spring Security OAuth provider, developed in my monograph about SSO and OAuth
Stars: ✭ 13 (+18.18%)
Mutual labels:  spring-security, spring-mvc
Bugcatcher
方便产品、开发、测试三方协同管理、测试、监控项目进度和质量,以持续交付。
Stars: ✭ 472 (+4190.91%)
Mutual labels:  spring-mvc, spring-security

angular_websockets_security

Build Status

Angular JS with Bootstrap, Web Sockets, Spring 4, and Spring Security

This example is an angular js single page application (SPA) with bootstrap for the widgets and styling.

The application has been broken into four modules RESTFUL-API, WEBSOCKET-API, SECURITY and CLIENT, all are built separately and all are deployed separately.

The RESTFUL-API and WEBSOCKET-API can run on any web server, but it has been tested against Tomcat 8, the server required http DELETE and PUT, so ensure your web server can support those http methods.

The CLIENT currently is run via gulp, for a production release you could extract the .zip artefact and run the static client via Apache.

Ensure that you proxy the RESTFUL-API and WEBSOCKET-API so that you have the same domain otherwise you will experience CORS related issues. (deployed artefacts only)

Gulp:

Used as the build tool for the client, this has been written using ES6

Spring 4:

Used to create RESTful controller interfaces which in turn gets called through ajax requests.

Spring Security 4:

Used for a stateless api that allows authentication via basic authentication or token authentication.

Upon authentication a token is attached to the header response which can in turn be used for sequential requests to be authenticated against.

When an authentication fails a 401 will always be returned.

Login Details as per database inject.sql:

Username = [email protected]

Password = password

Testing

Simply run on the parent pom to have node and modules auto install and execute all tests. (REQUIRED FOR FIRST RUN)

Ensure you have Maven 3.2.0+

mvn clean install

To run specific profiles please run mvn clean install and simple pass the profile you wish to execute.

This will execute Java and Jasmine tests that will test both java classes and angular js files.

You can also run jasmine only tests if you wish via the front end:

http://localhost:4444/test

Running

Recommendations:

Use IntelliJ 16+ to run the application.

Run the API via Tomcat 8:

Deploy exploded artefact to Tomcat 8 and ensure the root context is set to API.

Run the restful api

The default is expecting the context root to be /restful and running on port 8084

Run the websocket api

The default is expecting the context root to be /websocket and running on port 8085

Run the CLIENT via gulp.babel.js:

Where PATH is the directory to your checked out project.

Gulp File: PATH\angular_websockets_security\client\gulpfile.babel.js

Tasks: run

Node Interpreter: PATH\angular_websockets_security\client\node\node.exe

Gulp package: PATH\angular_websockets_security\client\node_modules\gulp

The application is set to run on

http://localhost:4444

Donations

How you can help?

Any donations received will be able to assist me provide more blog entries and examples via GitHub, any contributions provided is greatly appreciated.

Thanks for your support.

paypal

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].