Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yossely/almundo-hotels
Almundo - Hotels Finder
https://github.com/yossely/almundo-hotels
angular-cli angular-material angular5 nodejs-server
Last synced: about 15 hours ago
JSON representation
Almundo - Hotels Finder
- Host: GitHub
- URL: https://github.com/yossely/almundo-hotels
- Owner: yossely
- Created: 2018-04-13T20:29:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-30T22:24:49.000Z (almost 7 years ago)
- Last Synced: 2024-06-26T07:46:22.559Z (7 months ago)
- Topics: angular-cli, angular-material, angular5, nodejs-server
- Language: TypeScript
- Homepage:
- Size: 2.29 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Almundo Hotels
### Server
NodeJS server application that serves hotels information and allow filter hotels by name and/or stars
### Application
Angular application that allow users to fetch, display and filter hotels information by name and/or stars by consuming the REST API created in the _Server_
## Project Requirements
You must have installed [Node and npm](https://nodejs.org/en/)
## Run the Project
1. Clone this repository `git clone https://github.com/yossely/almundo-hotels.git`
2. Step into the `server` folder `cd almundo-hotels/server`
3. Run `npm run run-app`, this command will:
- Install NodeJS server dependencies
- Install Angular application dependencies
- Build NodeJS server
- Build Angular application
- Serve the REST API
- Serve the angular application with an http server
4. You can visit the application in `http://localhost:8080/`## Development
To develop more feature of this project you have to:
1. Step into the `server` folder `cd almundo-hotels/server`
2. Run `npm run dev`, this will:
- Serve the REST API at `http://localhost:3000/`
- Perform hot reload each time you modified some file
1. In another terminal tab, step into the `application` folder `cd almundo-hotels/application`
2. Run `npm start`, this will:
- Serve the angular application at `http://localhost:4200/`
- Perform hot reload each time you modified some file