Skip to content

NewGuyAlbert/hire-me-full-stack-developer

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Documentation

Technologies

  • npx
  • Nestjs
  • Angular
  • Postgres

Deployment

The entire application (shop, api and database) has been deployed to heroku. Can be accesed with the follwing urls:

Extra Features

  • CICD pipeline
  • Ant Design for Angular
  • Typeorm
  • Jest

Local setup

Prerequisites

  • NodeJs version 14 or higher
  • Docker

Steps:

  1. Git clone
  2. navigate to 'cd hire-me-full-stack-developer' and run 'docker compose up' (Docker needs to be open)
  3. navigate to 'cd project' and run 'npm install'
  4. navigate to 'cd apps/api/' and create '.env' file with the following data:
    • DB_HOST=localhost
    • DB_PORT=5432
    • DB_USERNAME=postgres
    • DB_PASSWORD=root
    • DB_DATABASE=postgres

Start application:

  • dev: 'npm run dev'
  • production: 'npm start'

Notable scripts:

  • 'npm test' to run all unit tests
  • 'npm build' to build application into dist folder

Api Routes

  • /api/product (get)
  • /api/product (post)
  • /api/product/:id (get)
  • /api/cart (get)
  • /api/cart (post)
  • /api/cart (delete)
  • /api/cart/:id (delete)

Final Note

Despite a busy week, I managed to find time here and there and work on this. With that in mind I am somewhat satisfied with the work I put into this project, even if there are many things that could be improved and revised. In the end it was a zero to hero adventure for me considering my intial knowledge of Angular and NestJs. It was a fun learning experience.

About

Wanna be part of the swag tech team @shieldapp? Fork, build, push 😎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 79.3%
  • HTML 11.4%
  • JavaScript 8.1%
  • CSS 1.2%