DEV Community

Cover image for Gist Interview - Programming questions simulator
Mario Rodeghiero
Mario Rodeghiero

Posted on

Gist Interview - Programming questions simulator

</> Gist Interview

</> Gist Interview is an application built with ReactJS and for any person or company to use to simulate programming questions by simply creating and populating the "db.json" file with its Gist-IDs and at the end generating a dashboard.

Gif Example

Gif Example

Built with

Install

First, clone the repo via git:

git clone https://github.com/mariorodeghiero/react-gist-interview.git your-project-name
Enter fullscreen mode Exit fullscreen mode

And then install dependencies with yarn.

$ cd your-project-name
$ yarn
Enter fullscreen mode Exit fullscreen mode

Note: If you can't use yarn, run npm install.

Run

Install json-server:

$ npm install -g json-server
Enter fullscreen mode Exit fullscreen mode

Start the file "db.json":

$ json-server --watch db.json --port 3001
Enter fullscreen mode Exit fullscreen mode

Example file "db.json"
Db

Open a new tab in the current directory and start the app in the dev environment:

$ npm run start
Enter fullscreen mode Exit fullscreen mode

or

$ yarn start
Enter fullscreen mode Exit fullscreen mode

After run, the browser open window automatically at http://localhost:3000/

Deployment

Run the command below to deploy, minimizing All Files.

$ npm run build
Enter fullscreen mode Exit fullscreen mode

or

$ yarn build
Enter fullscreen mode Exit fullscreen mode

Conclusion

I created this application to test and share knowledge acquired in the studies on ReactJS and also so that any person or company can use to simulate questions about programming, simply creating and populating the file "db.json" with the respective Gist-ID.
If you liked this project, contribute improvements or give me a star ⭐️ on GitHub.

I hope you like ✌️
Thanks!

Icons made by

Top comments (2)

Collapse
 
shostarsson profile image
Rémi Lavedrine

Very good program.
I would have a look at it and talk about it at my company in order to interview potential new members.

Collapse
 
mariorodeghiero profile image
Mario Rodeghiero

Cool! Your company only needs to create its own gists, I believe it will be a very nice experience for the interviewee.
Thank you!