This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
It was a long time since I wrote this code. On that time Ember already was a mature framework, while React had just been born.
Now this project is outdated, Ember received a lot of changes and new features, moreover, on Java land both JEE and Spring mainly the last with spring-boot made the developer life less complicated ( well, to do more and write less code ).
Having said that, I think its a great oportunit to rewrite this code to a new version and using other technologies in Java side. So you can wait for a new version using this technologies:
- Ember cli
- Spring Boot
- MongoDB
- DockerYou will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
- Docker
git clone <repository-url>this repositorycd ember-javayarn install
If swarm is not running, run this command first:
$ docker swarm init
...
... doneThen, start the mongo stack:
$ docker stack deploy --compose-file docker-compose.yml mongo
...
... done$ mvn springboot:run
[INFO] Scanning for projects...
...
... Started Application in 5.216 seconds ...$ ember serve
⠏ building...
Build successful (15309ms) – Serving on http://localhost:4200/Now you can access the application on http://localhost:4200/
On login page enter the login: tomster@emberjs.com and password: test
You can add other user for test using the command
curl -H "Content-Type: application/json" -X POST -d '{
"username": "other_email@hostname.com",
"password": "password"
}' http://localhost:8080/api/users/sign-upMake use of the many generators for code, try ember help generate for more details
ember testember test --server
npm run lint:hbsnpm run lint:jsnpm run lint:js -- --fix
ember build(development)ember build --environment production(production)
Specify what it takes to deploy your app.