Skip to content
 
 

Repository files navigation

Acebook

This is a Social Media App written in Node.js.
It was a team project during the Makers Coding Bootcamp.

Created by Guillermina Lorenzo, James Ruffini, Jonas Diete, Liovirgilda Mendonca, Millennia Severino and Thomas Mannion.

It uses:

Our Trello Board

We worked together using Agile workflows - we created tickets and assigned them to people to implement all features.
https://trello.com/b/TEgHXan1/monsters-inc-project

Try it!

Here is the live link - sign up as a new user and post something on the wall!
https://acebook-monsters-inc.herokuapp.com/

If you want to run the app on your computer, download this repo and follow these instructions:

Install Node.js

  1. Install Node Version Manager (NVM)
    brew install nvm
    
    Then follow the instructions to update your ~/.bash_profile.
  2. Open a new terminal
  3. Install the latest version of Node.js, currently 18.1.0.
    nvm install 18
    

Set up your project

  1. Fork this repository
  2. Clone your fork to your local machine
  3. Install Node.js dependencies
    npm install
    
  4. Install an ESLint plugin for your editor. For example: linter-eslint for Atom.
  5. Install MongoDB
    brew tap mongodb/brew
    brew install mongodb-community@5.0
    
    Note: If you see a message that says If you need to have mongodb-community@5.0 first in your PATH, run:, follow the instruction. Restart your terminal after this.
  6. Start MongoDB
    brew services start mongodb-community@5.0
    

Start

  1. Start the server
    npm start
    
  2. Browse to http://localhost:3000

Start test server

The server must be running locally with test configuration for the integration tests to pass.

npm run start:test

This starts the server on port 3030 and uses the acebook_test MongoDB database, so that integration tests do not interact with the development server.

Test

  • Run all tests
    npm test
    
  • Run a check
    npm run lint              # linter only
    npm run test:unit         # unit tests only
    npm run test:integration  # integration tests only

About

Node.js template for the Acebook project

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages