GithubHelp home page GithubHelp logo

assessment_fullstackdev's Introduction

Languages and Tools:

Installation

Setup your MongoDB Atlas cluster and database. In server/routes/employee.js edit MONGODB_DATABASE and MONGODB_COLLECTION to represent your MongoDB cluster data. Add a new .env file in server folder that fits your MongoDB credentials. For example take a look at server/example.env:

ATLAS_URI = mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/employees?retryWrites=true&w=majority
PORT = 5000
MONGODB_DATABASE = "jacandoAG_assessment"
MONGODB_COLLECTION = "employees"

Make sure that your IP address is whitelisted.

Download Node.js v16+ to run. Install the dependencies and devDependencies and start the server.

cd server
npm i
node server.js

You should get the following message:

Server is running on port: 5000  
Successfully connected to MongoDB.
cd client
npm i
npm start

Task

Please develop an application with frontend and backend that allows you to create employees and save them to the database.

Frontend

  • Preferably you use ReactJS but any other Javascript framework or vanilla Javascript is fine too
  • There should be input fields for
    • email
    • first name
    • last name
  • There should also be a dropdown that lets the user select the gender of the employee
  • By clicking the submit button, the data is sent to your backend
  • If any of the information is missing, there should be an error message and the data should not be sent to the backend
  • Styling is not important but a good design is a plus

Backend

  • The backend should be written in NodeJS
  • Data received from the frontend should be stored in a database
    • Preferably you use MongoDB but you can use any you like or even use an in memory store

License

GNU General Public License v3.0

assessment_fullstackdev's People

Contributors

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