Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

enfff/employees-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

employees-list

Useless WebApp developed for deliberate practice using the MERN Stack

This app will let you add users in a database and show their location on a map. That's it.

All users will have the same sad user icon due to space limitation in my database

Most important libraries used:

    "formik": "^2.2.9",
    "leaflet": "^1.8.0",
    "react-bootstrap": "^2.3.1",
    "react-leaflet": "^4.0.0",
    "yup": "^0.32.11",
    "mongoose": "^5.13.14",
    "express": "^4.17.1",
    "mongodb": "^3.7.3"

Future features might include updating users and authenticating into the app

Installation

  1. git clone https://github.com/enfff/employees-list/ && cd employees-list

Client installation

Make sure you're on the root folder, i.e. employees-list

  1. cd client
  2. npm install
  3. npm start

Server installation

Make sure you're on the root folder i.e. employees-list

  1. cd server
  2. npm install
  3. echo "ATLAS_URI='mongodb+srv://<username>:<password>@theuseless-webapp.tcqqm.mongodb.net/myFirstDatabase?retryWrites=true&w=majority'" > .env
  4. echo PORT='3005' >> .env

You can request the <username> and <password> field by contacting me (check my GitHub bio for more contact)

Todos

  • routes
  • ui-development
  • database

Things that requires polishing

  • Create a component for showing fetching data
  • Show only a couple of users in the homepage (more can be requested with a proper button)
  • Fix that error you get when you write a bio (/add-user) with less than 10 characters
  • Remove the tmp "/client/src/Routes/FormikForm.js"

About

Useless WebApp developed just for practice

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors