This project is based on the concept of interaction of a company, its departments and employees. In your company, a department can contain multiple employees, but an employee can only belong to one department.
The application reflects a CRUD under a very minimalist design with the sole purpose of reflecting said interaction. Material has been implemented for the design. The application should mainly show a list of departments and another of employees. For this purpose, from the main module, they have been divided into two modules, one for each one, which bring together three components: child, form and list.
The state of the application is managed with Redux. The user reduder allow us to manage the user information from Firebase. Also we have the departments and staf reducers.
The prototype of this application is in this PDF.
This application is in GitHubPages, Firebase and docker. In the package.json there is some scripts to create and run the docker image:
- docker_build
- run_docker_container
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Want to contribute? Great!
To fix a bug or enhance an existing module, follow these steps:
- Fork the repo
- Create a new branch (
git checkout -b improve-feature
) - Make the appropriate changes in the files
- Add changes to reflect the changes made
- Commit your changes (
git commit -am 'Improve feature'
) - Push to the branch (
git push origin improve-feature
) - Create a Pull Request
If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result.
If you'd like to request a new function, feel free to do so by opening an issue here. Please include sample queries and their corresponding results.
. | |
---|---|
Carlos Bayarri Cebrecos | . |
MIT © Carlos Bayarri Cebrecos