Welcome! This is an optional project that you can complete prior to the start of the Summer Internship Program to help you learn our tech stack. Feel free to leave comments with your questions, however please try to complete this on your own!
This application is built to help teach Angular 8, one of the technologies you might be using this summer. The way this application was built was by writing unit tests, and your job is to go into the application and develop the features.
This project is an application that allows a user to manage books. As the developer of this project, you will need to create a table to display the books returned from the backend, add a book preview, and add a form to update books by sending a request to the backend.
To start, first run the command to install the dependencies:
yarn
or npm install
To see what your code currently does, run the start command by running either npm start
or yarn start
.
To see if your project matches the functionality expected, run the tests: npm test
or yarn test
.
-
If this is your first time using Angular, you should start by doing the Angular Tour of Heroes application, created by the Angular team.
-
After you have completed the tour of heroes, start looking into some functionality to write! Each component has tests written so that you can focus on one component at a time.
-
To only run tests on one component, prefix the
describe
in each test file (*.spec.ts
) with anf
so it turns intofdescribe
. -
This trick can also work for each individual test, replacing
it
withfit
. -
You can also prefix
describe
andit
with anx
(xdescribe
orxit
) to tell the test runner to skip those tests.