Code Monkey home page Code Monkey logo

cookunity-app's Introduction

🍝 Cookunity πŸ₯˜

Table of Contents

  • Introduction πŸ“–
  • Demo app πŸ½οΈπŸŽ‰
  • Getting Started ✨
  • Tests πŸ§ͺβš—οΈ
  • Docker πŸ‹
  • Technologies/Tools πŸͺ›

Introduction πŸ“–

πŸŽ‰This project is a full-stack web application built with NestJS and ReactJS for the CookUnity challenge! πŸŽ‰

Demo app πŸ½οΈπŸŽ‰

  • The application has been deployed in the following sites:

Backend: https://cookunity-app-production.up.railway.app/api (Swagger doc).

Frontend: https://cookunity-app.vercel.app/.

Getting Started ✨

To use the application, you can register as a new user or use the seed user provided below. To create the seeds users, navigate to the api folder and run the following command:

cd api
yarn nestjs-command create:user
[
  {
    "name": "Donato de Santis",
    "email": "[email protected]",
    "role": "CHEF",
    "password": "chef",
    "image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpYeiftn_mBq8eomPq1_TB4Eb0MiPKkpEHIhW9obEvrVZO0vlU"
  },
  {
    "name": "Christophe Krywonis",
    "email": "[email protected]",
    "role": "CHEF",
    "password": "chef",
    "image": "https://aptus.com.ar/wp-content/uploads/2018/10/christophe-masterchef3.jpg"
  },
  {
    "name": "Ivan Greve",
    "email": "[email protected]",
    "role": "CUSTOMER",
    "password": "1234",
    "image": "https://ivangreve.com/profile.jpg"
  }
]

Tests πŸ§ͺβš—οΈ

To run test for the aplications:

Backend: yarn test

Frontend: yarn test

Docker πŸ‹πŸ§ 

To run the application using Docker, follow these steps:

  1. Go to the root folder of the project.
  2. Run the following command to start all the services:
docker-compose up
  • If you want to run only one service, run the following command, replacing <serviceName> with the name of the service you want to start:
docker-compose up <serviceName>

Example:

  • DataBase service: docker-compose up mongodb_service
  • Engine service: docker-compose up engine_service
  • Frontend service: docker-compose up frontend_service

Technologies/Tools πŸͺ›

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.