Giter Club home page Giter Club logo

feather-challenge's Introduction

Feather - Fullstack Engineer code challenge

Notes before starting.

You might see my last PR is called "Revert Docker Attempt". The DB i used was Planetscale (Mysql) with Prisma as ORM. Is a rather new stack so there is still not good documentation on how to set up Docker Compose with it. I gave it a try and I got pretty close, but it was not fully working so I removed it. I'm still getting my head around Docker.

This means that, in order to make this project run you will need to download de enviromental variables here and paste it in a .env file inside backend folder.

Once that is done follow the next steps:

  1. On the backend folder:

Install the dependencies:

yarn install

And run the development server:

yarn dev
  1. On the frontend folder:

Install the dependencies:

yarn install

And run the development server:

yarn dev
  1. On the backend folder you also need to do the following:

Generate Prisma Client:

npx prisma generate

And start Prisma Studio to peek the DB:

npx prisma studio

Once inside the Project you can Sign Up a new user or login with the following credentials:

email: [email protected]

password: feather

In case something went wrong and the DB is empty (it shouldn't since it is in production branch) you can run the following command and it will populate the DB:

npx prisma db seed

Known Issues:

Not really proud of this, but the JWT for auth it's being stored in Local Storage. I tried to set a cookie based Auth but for some reason it was not working. You might see breadcrumbs of my attempt but those are signs for me to, if we get to do the feedback, ask you some questions that will help me understand better.

There are other bugs going on but we can discover them while going through it.

It was defintely the most challenging challenge I have ever done. I have never used graphql before and did very little unit testing. I'm pretty satisfied of what came up in a few hours after work over the last week.

feather-challenge's People

Contributors

darionti88 avatar

Watchers

 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.