This project is a solution for the commercial department of the television company, designed to track the calculations related to the passage of advertisements on TV. The system contains basic functions for managing ads, shows, clients and agents.
- Manage advertisements, shows, customers, and agents.
- Track advertisement airing and performance.
- User authentication and authorization.
To use the deployed application, you can access the frontend and backend via the following URLs:
- Frontend (Vercel): https://tv-company-client.vercel.app/
- Backend (Render): https://github.com/IvanRuskevych/tv-company-server
- API documentation (swagger): https://tv-company-server.onrender.com/api-docs/
- Frontend: Angular, Angular Material
- Backend: Node.js, Express, MongoDB
- Deployment: Vercel (Frontend), Render (Backend)
- Frontend Setup:
- Clone the repository:
- git clone https://github.com/IvanRuskevych/tv-company-client.git
- cd tv-company-client
- Install dependencies:
- npm install
- Run the development server:
- ng serve /or/ npm start
- Open your browser and navigate to http://localhost:4200
- Clone the repository:
- Backend Setup:
- Clone the repository:
- git clone https://github.com/IvanRuskevych/tv-company-server.git
- cd tv-company-server
- Install dependencies:
- npm install
- Create a .env file in the root directory and add your environment variables:
- PORT=5000
- MONGODB_URI=
- KEY_ACCESS_TOKEN=
- KEY_REFRESH_TOKEN=
- Run the development server:
- npm install
- Your backend server should now be running on http://localhost:5000
- Clone the repository:
This project was generated with Angular CLI version 18.0.6.
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.
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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
This project was generated with Angular CLI version 18.0.6.
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.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.