Skip to content

rafaelmoraes/fakegram-angular2-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fakegram Angular 2 learning

This repository is only to me learning Angular 2. =]

Setup with Node.js and npm.

Install Node.js and npm package manager.

Setup with Docker and Docker Compose.

Install docker and docker-compose, wait the install process finish, so execute in your terminal:

# Build docker images, this command is only necessary at first time
sudo docker-compose build
# Start required containers
sudo docker-compose up -d

Execute the commands below to start the API webserver.

sudo docker-compose exec fakegram-angular2 bash

cd server

npm install

npm start

Now you need to start the Angular 2 client server.

sudo docker-compose exec fakegram-angular2 bash

cd client

npm install

npm start

If everything went well, you can access the application in your web browser: http://localhost:3000.

For stop and remove the container execute the command below:

sudo docker-compose down

About

This repository is only to learning Angular 2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published