Giter Site home page Giter Site logo

behance-react's Introduction

Dealer Inspire Front End Code Challenge

You can visit the project here https://behance-react.herokuapp.com/. The project has been deployed to heroku. If you have any other questions that you might have after reading the Readme, please contact me on [email protected]

Project Setup

The project has two parts, the first is the Server and then the Client.

How to start and build the project?

npm i

it will install all the dependencies

npm client-install

it will install all the dependencies on the client, you can cd into the client and can still do npm install

npm run dev

It will run the node project and client at the same time. Concurrently is being used to run server and client at the same time

Server

I have used express to create the server you can check it out here server.js If you want to take a look at all the api routes in the service click here Routes The constant configs are in config

Why?

The server has been used to flatten the data and handle error correctly. I have simplified the data structure so that it's easier on the front end to map the data.

Client

Client is build using Create React App 2. You can start the dev server on client as mentioned above. If you want to run the tests you can test it using npm run test. You can search for a new user directly from the typeahead.

Landing Page

You can visit the localserver at http://localhost:3000/

You can start typing user names and the typeahead will fetch users based on how the behance api returns the data. Once the dropdown will show the users you can click on user's name and it will route you to their profile page. The typeahead sometimes generate weird results as behance api sometimes sends null value to their query results.

Profile Page

  • Info Section: It will display the author's full name, username, and other information about them
  • Stats: In Stats section you can click the followers/following and it will open the modal showing you the list of followers/ following the user has.
  • Work Experience: This section might be visible for some user and might not be visible for other based on what the behance api returns.
  • Projects: The last section will show all the user's project. You can click on them which will take you to the behance project details.

behance-react's People

Contributors

gruler05 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.