CSCI 4131 Final Project.
These are the features implemented:
- Account creation (I.E. a not-logged in user can create a new account)
- Logged-in vs. not-logged-in status should be tracked.
- Login and logout features
- Posts are associated with a specific user, only the associated user can edit or delete a given post.
- This is implemented by making the posting, editing, and deleting only able be done by the logged in user accessing their profile
- Users can create short text-posts. (max length of 280 characters)
- Text posts can be edited and deleted
- Text posts can be "liked" and maintain a "like count"
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
npm
-
Clone the repo
git clone https://github.com/github_username/repo_name.git
-
In the directory with the package.json, install NPM packages
npm install
-
Create a .env file like ethe /env/template. Enter your secrets in in
.envconst API_KEY = 'ENTER YOUR API';
-
Run this command to create the tunnel, and log in with UMN account:
node tunnel.js
-
Then in another terminal, run this command to start the server:
node server.js
-
Open http://localhost:4131/ to interact with the website.