GithubHelp home page GithubHelp logo

ebytr-fullstack-project's Introduction

Ebytr Todo-List

Fullstack project developed to allow the user to create an account, and once logged in, is capable of creating, editing, and deleting tasks in a to-do list template

Table of contents

General view

The challenge

Ebytr To-Do list is a project that creates a task list, where a user can create and log in in their account, and manipulate their tasks.

The users must be capable of

  • Register and authenticate themselves
  • Create tasks
  • Sort tasks by title, date of creation, and status
  • Update tasks
  • Delete tasks

Images

The development process

Tools used

Front-end

  • TypeScript
  • React (Vite)
  • Axios
  • React-hook-form
  • Redux (Redux Toolkit)
  • TailWind CSS
  • Headless UI
  • Axios
  • HTTP-Status-Codes
  • Phosphor-react
  • React Testing Library

Back-end

  • TypeScript
  • Node.js
  • Express.js
  • BCryptJS
  • cors
  • express-async-errors
  • Joi
  • Jest
  • JWT
  • Prisma
  • MySQL

Lessons learned

In this project I could improve my knowledge in both front-end and back-end, by:

  • Using and learning about new libraries and frameworks and its applicabilities.
  • Using docker and docker-compose to create two separate environments, one for development, and one for testing.
  • Creating a fake database to make end to end tests.
  • Fetching the backend using Redux toolkit async actions.

Usage

Docker

git clone [email protected]:adrancarnavale/ebytr-fullstack-project.git
cd ebytr-fullstack-project
  • You will have access to various scripts, that will help you achieving what you want to do.

    • To enter in the development environment, run:

      npm run compose:up:dev
    • To exit from the development environment, run:

      npm run compose:down:dev
    • To enter in the test environment, run:

      npm run compose:up:test
    • To exit from the test environment, run:

      npm run compose:down:test
    • To launch the application, run:

      npm run launch:app
  • If having any problems to compose your containers, please, refer to the Troubleshooting

Testing

Front-end

  • Please certificate that you are in the test environment. If not, please change it first following the corresponding commands found in the section Usage

  • Navigate to the Front-end directory

cd frontend
npm run test

Back-end

  • Please certificate that you are in the test environment. If not, please change it first following the corresponding commands found in the section Usage

  • Navigate to the Back-end directory

cd backend
npm run test

Troubleshooting

  • Error:

    > [ebytrtodolist_backend_test internal] load metadata for docker.io/library/node:16-alpine:
    failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 255, out: ``
    error Command failed with exit code 17.
  • Solution:

    • Run the command:
npm run docker:repair

Author

ebytr-fullstack-project's People

Contributors

crnvl96 avatar

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.