Skip to content

Alexnj1/c-s-s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-S-S

License: MIT

Some technologies Used

JavaScript Node.js Express.js MySQL Git GitHub

Description

This is a full stack application, hosted on heroku, that utilizes Node.js, Express.js, various NPM packages and various full stack web development concepts to create a small social-media style website specially for communication throughout a fictional community.

NPM Packages Used:

  • express: High performance framework for server-side applications
  • express-session and express-session-sequelize: For session creation and to connect/sync the sequelize database to the session.
  • mysql2 and sequelize: To connect the application to a MySQL database and to query that database within JavaScript rather than the MySQL command-line shell.
  • dotenv: For setting environment variables.
  • bcrypt: For password hashing.
  • express-handlebars: For serving dynamic HTML based on database queries.
  • nodemailer: Linked to an external email service. This is used to stretch the functionality of the application past just the code.

Table of Contents

Installation Instructions

Node and the MySQL Shell both need to be installed on your computer for local testing

  npm i

To test this application in a local environment, clone this repository and enter this command in your terminal in the root of the repository.

Afterwards, before running the server, you must first navigate to the MySQL shell and create a database called "css_db", then you must create a .env file in the root of the repository and store your login credentials as follows

DB_NAME='css_db'
DB_USER='Your MySQL username'
DB_PW='Your MySQL password'

Make sure .env is included in a .gitignore file

npm start

Once the necessary dependencies have been installed, run this command to start your local server, then navigate to localhost:3001 to test the application.

Usage

This website is meant to be used by residents of a fictional community called C-S-S neighborhood. This websie provides a way for members of that community to communicate with each other and share news going on around that community as well as events. It also provides a way for residents to communicate with neighborhood administrators both informally through posts or with a formal complaint or compliment form.

Contribution

Alex Noble-James

Blerand Ismaili

Dedrie Peart

Testing

For the deployed application

Questions

If there are any questions, including those about the use of this application, refer to the information below.

Link to the main contributor(s) GitHub profile:

Link to the main contributor(s) email address: alexnoble143.an@gmail.com

License

This project is licensed under the MIT open source license. Visit LICENSE for the full license documentation.

About

Created By: Alex Noble-James, Blerand Ismaili, and Dedrie Peart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •