Giter Club home page Giter Club logo

skyspecsgistexercise's Introduction

Sky Specs Gist Viewer

Application for viewing Gists!

Installation

For running the client :

cd client
npm install
npm run start

For running the server:

Make sure dotnet core is installed https://dotnet.microsoft.com/en-us/download/dotnet/3.1

cd server
dotnet build
dotnet run

Notes

My eyes skipped over the section about the time requirement, so I ended up taking my time with it and spent about 5.5 hours total. The first 2.5 hours were spent scaffolding the project and testing a few different ways laying out the client and server. After trying out a handful of modern boilerplates, I ended up re-using the client and server layout for my hobby project, a react front-end with a dotnet core backend. In hindsight I would have avoided trying to use the most up-to-date libraries and layout and simply re-used what I already know works.

The next 1.5 hours was spent creating the client pages, user interactions, and having the server return mock gists from a file (to avoid hitting the api and reaching the rate limit). In hindsight I would have been more minimal with the styling I added, and avoided including the loaders or the material UI library at all.

The last 1.5 fours was spent wiring up favoriting on the server, and most of that time was spent on a bug while getting POST requests working for the webapi controller. I couldn't get the post body to come through on the server and I ran through half a dozen examples of how to format the Controller, before figuring out the problem was just with the request class: I didn't include the default getter/setter.

public string Id;

instead of

public string Id { get; set; }

Even ignoring the time spent experimenting with boilerplates, styling, and the POST bug, I'm not confident I would have finished in 2 hours, because of how carefully I work and my perfectionism. I tend to overthink things and I find it difficult to create something basic without thinking about the long-term effects from every choice. Overall I enjoyed experimenting with the project though.

skyspecsgistexercise's People

Contributors

jkstrawn avatar

Watchers

James Cloos avatar  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.