Skip to content

C0N50/Story-Forge-Circles

Repository files navigation

Story Forge - Writers Circle

Description

StoryForge is a web application designed to create a platform for writers to connect and collaborate in small groups known as "writer's circles." The primary goal of these circles is to facilitate the sharing and beta reading of works among writers within a supportive and engaging community. The circles are created by users and moderated by designated individuals.


Table of Contents


Technologies


Getting Started

This project should be able to run in your favorite IDE. We used VS Code while building it.

Prerequisites

Before you get started, make sure you have the following software installed on your computer:

Installation

  1. Fork the repository.
  2. Copy the SSH key from your forked repository.
  3. In your terminal, execute git clone {paste SSH link}.
  4. Navigate to the repository's folder using the terminal.
  5. Open the folder in VS Code (or your preferred editor).
  6. Run npm install in the terminal of VS Code to install all dependencies.
  7. Create a .env file at the root of the project and add the required environment variables.
  8. In Postico, create a database named story_forge_circles. If you prefer a different name, update the server/modules/pool.js file with the new database name.
  9. The database.sql file provides the necessary queries to create all required tables, along with a dummy data table for testing purposes. When deploying the application to production, make sure to exclude the dummy data from db_insert.sql and db_select.sql.
  10. In your VS Code terminal, execute npm run server.
  11. Open a second terminal and run npm run client.

Usage

After completing the installation and starting the application, it should automatically open in your default browser. If it does not, navigate to http://localhost:3000/#/ to access the application.

For a detailed walkthrough of the application, please watch the following video by clicking here!


Deployment

To deploy updates or make changes to the application, follow these steps:

  1. Obtain the Heroku login credentials from the hand-off document.
  2. Log in to Heroku and navigate to the story-forge section (or the relevant section for this app).
  3. To deploy changes manually, go to the "Deploy" tab and click "Deploy Branch." You can also configure automatic deployment from the same page.
  4. Environment variables are stored in the "Settings" tab on Heroku. Click "Reveal Config Vars" to view or modify them.
  5. For database setup, we used Postico. To connect, use the information from Heroku:
    • Go to the "Resources" tab and click the Postgres add-on.
    • Navigate to the "Settings" tab and click "View Credentials."
    • Enter the required information in Postico as a new favorite.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •