We have designed a social platform for individuals, who like us, have an interest in software development.
We wanted to create a place where they can go to discuss ideas and issues, with the ability to network by browsing and creating categories, subscribing to threads of interest, and posting within threads.
- GitHub Link
- Installation Instructions
- Executing Instructions
- Database Information
- Nodemailer
- Screen Shots
The link to the GitHub repository of the project is
https://github.com/jkoufalas/codeIt
The dependancies are listed within the package.json file. The dependancies for this application are
- sequelize
- dotenv
- mysql2
- expressjs
- handlebars
- express-handlebars
- nodemailer
Since the dependancies are listed within the lock file, they will autmatically be installed with the following command
npm i
node server.js
Utilize the command prompts and the application will prompt you for any information it needs to fullfill the requests you have made.
The user must have a MySQL database installed on the machine they are running the application on.
The schema for the database is included in the db folder and can be included by running the command
mysql> source db/schema.sql
The seed data if required can be inserted into the database by using the index.js file in the seeds folder and inserted by running the command.
> node seeds/seed.js
The information used to connect to the database is currently implemented with the dotenv package. To include the correct information to connect to the database corretly the following the user needs to create a .env file and add the following data.
DB_NAME="social_media_db"
DB_PW="your_password"
DB_USER="your_user"
EMAIL_USER='email_address'
EMAIL_PASSWORD='emails password'
If the user doesn't want to use the dotenv package, then they can simply replace these variable in the server.js file with the hard coded values that these variables are storing.
Currently nodemailer is implemented using Outlook365, this can be changed to use and service or manual SMTP. Outlook365 was used because it provided a free account that nodemailer could use as a service with details in heroku that would not matter.