All Projects → isaaclyman → Edward-the-App

isaaclyman / Edward-the-App

Licence: other
Write your first novel with the world's most helpful writing tool. (Out of business as of Dec 2021)

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Edward-the-App

xtory
a tool for writing branching nonlinear stories.
Stars: ✭ 14 (-74.55%)
Mutual labels:  writing, writing-tool
cross-post
Cross Post a blog to multiple websites
Stars: ✭ 66 (+20%)
Mutual labels:  writing, writing-tool
WereSoCool
A language for composing microtonal music built in Rust. Make cool sounds. Impress your friends/pets/plants.
Stars: ✭ 41 (-25.45%)
Mutual labels:  composition
gitwriter
📝 Version control your thoughts
Stars: ✭ 13 (-76.36%)
Mutual labels:  writing
vue2-helpers
🔧 A util package to use Vue 2 with Composition API easily
Stars: ✭ 64 (+16.36%)
Mutual labels:  composition
UnderstandingLanguageExt
This is a tutorial that aims to demonstrate the practical fundamentals behind using LanguageExt in a fashion though step-by-step tutorials which introduce and then build up on concepts.
Stars: ✭ 73 (+32.73%)
Mutual labels:  composition
my-writing-workflow
Tutorial for converting markdown files in to APA-formatted docs, based on my workflow.
Stars: ✭ 35 (-36.36%)
Mutual labels:  writing
go-traits
A concept package that helps implement mixin behavior using embedded structs and hook interfaces.
Stars: ✭ 21 (-61.82%)
Mutual labels:  composition
NovelScraper
Download manager & library for translated light novels.
Stars: ✭ 70 (+27.27%)
Mutual labels:  novels
function-composition-cheatsheet
Composition of Functions
Stars: ✭ 24 (-56.36%)
Mutual labels:  composition
alighieri
A distraction-free tool for novelists and writers
Stars: ✭ 105 (+90.91%)
Mutual labels:  writing
konad
Monads composition API that just works. For OOP developers
Stars: ✭ 62 (+12.73%)
Mutual labels:  composition
doconce
Lightweight markup language - Document Once
Stars: ✭ 43 (-21.82%)
Mutual labels:  writing-tool
clean-code-javascript-ko
🛁 Clean Code concepts adapted for JavaScript - 한글 번역판 🇰🇷
Stars: ✭ 1,767 (+3112.73%)
Mutual labels:  composition
vuo
A realtime visual programming language for interactive media.
Stars: ✭ 103 (+87.27%)
Mutual labels:  composition
content-o-tron
A process for helping the Rust community and new comers to share their story of using Rust 🤖
Stars: ✭ 18 (-67.27%)
Mutual labels:  writing
IronWriter
IronWriter is an open-source writing tool for solo playthroughs of the free tabletop RPG Ironsworn. Focus on writing your story and let IronWriter automatically manage your character sheet.
Stars: ✭ 50 (-9.09%)
Mutual labels:  writing-tool
Modular2Recycler
Modular²Recycler is a RecyclerView.Adapter that is modular squared.
Stars: ✭ 72 (+30.91%)
Mutual labels:  composition
til
👨‍🎓 Today I Learned
Stars: ✭ 17 (-69.09%)
Mutual labels:  writing
awesome-academic-writing
MERGED with https://github.com/writing-resources/awesome-scientific-writing
Stars: ✭ 39 (-29.09%)
Mutual labels:  writing

Edward the App

Write your first novel.

Cypress.io tests

Build Setup

# install dependencies
npm install

# serve client app with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# build and serve full-stack app at localhost:3000
npm run start
# OR
npm run server

# serve Node server app with auto reload at localhost:3000
npm run server-dev

# run Jest unit tests and API integration tests
npm run test

# run Cypress integration tests in the command line (headless)
npm run integration

# run Cypress integration tests in interactive mode
npm run cypress

Environment Variables

For local development, you'll need a root-level .env file with the following keys:

  • DATABASE_URL={connectionString}: A connection string for a local Postgres database. An empty database with a public schema and no tables should be sufficient; the ORM will create the tables and relations automatically.
  • DEBUG_DB={true|false}: When true, all database calls will be logged to the server console.
  • NO_SSL_DB={true|false}: When true, an SSL connection will not be used to connect to the Postgres database. This should be "true" for local development.
  • INSECURE_COOKIES={true|false}: When true, the "secure" parameter will not be set for auth cookies. This should be "true" for local development.
  • RECAPTCHA_SECRET={secret}: A valid Google Recaptcha site secret. If you're developing locally on /auth, you'll also need to set window.recaptchaSiteKey to a valid site key after page load. By default, this is set in auth.html.
  • SESSION_COOKIE_SECRET={secret}: A secret to use for encrypting and decrypting session cookies.
  • BASE_URL=127.0.0.1:8080: The base URL of the app.
  • SMTP_HOST={hostname}: A host for sending emails via SMTP. For development, you might consider using smtp.ethereal.email. NOTE: you can leave the SMTP attributes blank if you're not developing email or signup functionality.
  • SMTP_USER={username}: Your username for accessing the SMTP server.
  • SMTP_PASS={password}: Your password for accessing the SMTP server.
  • STRIPE_SECRET_KEY={key}: A secret key for use with the Stripe API. If you're developing locally on /auth, you'll also need to set window.stripePublicKey to a valid publishable key after page load. By default, this is set in auth.html.

Running the app locally

npm run dev serves the front-end site on port 8080. npm run server-dev runs the API server on port 3000. Run these in separate console windows, and API requests will automatically be proxied from port 8080 to port 3000.

The webpack dev server (port 8080) will automatically redirect from routes like /app and /auth to /app.html and /auth.html. On the express server (port 3000) the original routes work without a redirect.

For best results, it's recommended to visit 127.0.0.1 instead of localhost.

Tests

npm run test is self-contained. Do not try to run it while a local server is already running. Port 3000 must be available.

If tests fail on a fresh install of Edward, it's probably due to missing tables. Run the tests a second time.

The Cypress tests require npm run server to be running in order to function. I recommend that you run this (and npm run cypress) in the Powershell console or Linux Bash, not in the Git Bash.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].