devalexanderdaza / imagine-apps-prueba

This is a test for Imagine Apps developer position

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imagine Apps - Easy Media

This is a project created with the purpose of providing evidence for the position of "Semi sr. Fullstack developer - NodeJS / Angular".

Monorepository

This is a mono repository, it has two folders, one for the backend and one for the frontend powered by Turbo Repo.

Features on Backend

  • Authentication and Authorization
  • Logout with BlacklistedTokens Collection
  • Posts (create, get all, get by user using email, filter posts by character on title or content, filter posts by createdAt date)
  • Cors
  • Validation
  • Guards
  • Decorator isPublic()

Features on Frontend

  • Login and Register
  • Get all posts of logged user
  • Get all posts published
  • Create new posts
  • ReactiveForms with Angular
  • Single service for consume the backend

Authors

API Reference

This project has a Postman Collection located on main folder

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

APP_PORT

APP_GLOBAL_PREFIX

DB_HOST

DB_USER

DB_PASSWORD

DB_NAME

DB_URL

Installation

Install with yarn

  yarn install

Run backend and frontend

  yarn run dev

Build backend and frontend for production

  yarn build

After run in development mode the backend run on

  http://localhost:5000

and the frontend run on

  http://localhost:4200

Acknowledgements

About

This is a test for Imagine Apps developer position


Languages

Language:TypeScript 77.2%Language:HTML 14.3%Language:CSS 7.4%Language:JavaScript 1.1%