Coder Social home page Coder Social logo

project-database's Introduction

100 Devs Project Database

This is a full stack app designed to house projects built by myself and colleagues from the 100 Devs Agency. This database displays uploaded projects, with the ability for site visitors to add their own projects to grow the database.

image of the project database with cards displaying inital projects.

Why It's Made:

This project was built to test my bootstrap skills, practice creating a fullstack app with express and hosting through heroku. I was hoping to build a site that would be collaborative, while also providing inspiration for future agency projects.

How It's Made:

Tech Used: EJS, JS, Bootstrap, Node.js, Express, MongoDB

This is a very basic create and read app. It relies heavily on express and bootstrap for the project, and was created in two days as a quick side app.

Optimizations

This project was a very big test in taking form data and pushing it correctly to the database. I initially struggled getting the checkbox data from the form to parse correctly as an array. While my first version of this app used document.querySelectorAll to pull all of the checked boxes, push to an array, and then send that array to mongoDB, I was able to update my ejs file to do the heavy lifting by adding a name tag to all of my checkbox inputs, and then use request.body... to pull all of the checked values for more streamlined code.

image of the database submission form.

Lessons Learned

I hit a bug or two trying to push my code to heroku, and spent quite a bit of an afternoon debugging my code to make sure the app was running smoothly. I learned quite a few things from this - first, make sure you have the correct settings in your database to make it accessible not only on your local machine. Second, searching through heroku logs (and copy and pasting it into google) is often one of the fastest ways to get things up and running. Eventually, I removed my node_modules folder, ran 'npm i' in the terminal to re-install the modules, and this updated the code to run successfully. Thanks, Stack Overflow!

Credit & Copyright

  • All projects on the cards are built by their respective developers from the 100 Devs Agency.
  • This site was designed and built in it's entirety by me, Katie Brown.

project-database's People

Contributors

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