Skip to content

This repo contains the code for the 2nd project of the "Fullstack Java-Angular dev" traineeship where I needed to create a small app in Angular

Notifications You must be signed in to change notification settings

LePhenix47/Lahouiti_Younes_2_05102023

 
 

Repository files navigation

OlympicGamesStarter

This project was generated with Angular CLI version 14.1.3.

Don't forget to install your node_modules before starting (npm install).

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Where to start

As you can see, an architecture has already been defined for the project. It is just a suggestion, you can choose to use your own. The predefined architecture includes (in addition to the default angular architecture) the following:

  • components folder: contains every reusable components
  • pages folder: contains components used for routing
  • core folder: contains the business logic (services and models folders)

I suggest you to start by understanding this starter code. Pay an extra attention to the app-routing.module.ts and the olympic.service.ts.

Once mastered, you should continue by creating the typescript interfaces inside the models folder. As you can see I already created two files corresponding to the data included inside the olympic.json. With your interfaces, improve the code by replacing every any by the corresponding interface.

You're now ready to implement the requested features.

Good luck!

About

This repo contains the code for the 2nd project of the "Fullstack Java-Angular dev" traineeship where I needed to create a small app in Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.7%
  • SCSS 35.7%
  • HTML 6.0%
  • JavaScript 1.6%