This application lets users to signup a new account and sign in using the created account to have access to their dashboard. The "Manage your Post" section contains "Add a New Post" functions and user can add a post. They can also edit and delete a particular post which updates the posts shown in the main page of the website
https://cryptofolio-project.herokuapp.com/
This application is written using Node.js, Passport.js, Handlebars, HTML, CSS, JavaScript, ES6, Bootstrap, MySQL, Sequelize
The user can simply sign in or create a new account, access to manage posts and get, add, update and delete their own posts which eventually updates the posts shown in the main page. The main page shows all the posts created by various users
To install a local instance of the application, follow the steps below:
- This application needs Node.js to execute. To install Node.js, run the appropriate installer from
https://nodejs.org/en/download/ and follow the prompts to complete the installation
- Clone this repo through git bash to your local computer using the following command
git clone https://github.com/mohamedzakigithub/cryptofolio.git
- Install packages using node package manager or "npm install" command line
- Initialize the database using schema.sql located in config folder on MySQL Workbench and change the database credentials in the config file to your own local or remote chosen database. These SQL commands only create the database on your local or remote database
- To run the server, browse to the local folder where you cloned the Repo and execute $ npm start
- The server should now start.
- Open the browser and go to http://localhost:8080 to view the application.