Important: AngularJS has reached EOL in January 2022. As a result, Story Manager was migrated to Angular. You can find the migrated project here.
Version 1 (currently in development).
Built using the gulp-site-template repo.
A story manager app for writers to keep track of their current stories and plotlines. It's currently possible to set a story's basic details and the basic details for each chapter within it. You can create as many stories as you like.
The app utilises AngularJS for its build and the build tool Gulp for automated tasks.
- Node.js
- Download or clone the repo.
- cd into the project directory.
- Run
npm install
to install dependencies. - Run
gulp serve
to start the local server. - Open index.html.
Not yet ready for users!
The app contains a Story Manager module (in app.js), which contains two controllers for two templates:
- libraryMgr + libraryCtrl - Displays the name and synopsis of each added story. Allows users to add and deletec stories.
- storyMgr + storyCtrl - Displays the name and synopsis of each chapter within the currently open story. Allows users to edit a story's details, as well sa adding, deleting and editing chapters' details.
- storyEdit - Where the user can edit the story's details.
- chapterEdit - Where the user can edit a chapter's details.
- settings + settingsCtrl - Allows the users to change several of the app's settings. Still in development.
The app also contains a service, librarian, which is responsible for getting a story's or a library's data and posting changes to the JSON file containing the library information (data/stories.JSON).
The site uses several tools to maximize compatibility:
- Gulp - Gulp enables running tasks automatically. You can read more on the Gulp website. Gulp is a Node.js tool, so it requires installing Node.
- Gulp-Postcss with Autoprefixer Plugin - A Gulp plugin which adds the necessary browser prefixes to the CSS file. For more info check the Gulp-postcss page and the Autoprefixer page on NPM.
- Gulp-Babel - A Gulp plugin for the transpiler Babel. Converts the current ES version to the highly supported ES5. For more info check the plugin's GitHub repository.
- Gulp-Concat - A Gulp plugin which combines all the ES5 JavaScript (Babel's output) files into one file. For more info check the Gulp-concat page on NPM.
- Gulp-Uglify - A Gulp plugin which minimises the single JavaScript file (Concat's output). For more info check the Gulp-uglify page on NPM.
- Gulp-Sourcemaps - A Gulp plugin utilizing the source maps tool. For more info check the Gulp-sourcemaps page on NPM.
- Gulp-order - A gulp plugin to set the order in which the JavaScript files will be concatenated. For more info, check the Gulp-order GitHub page.
- Gulp-Jasmine-Browser - A headless browser extension for the unit-testing tool Jasmine. The site also includes Jasmine-core and Puppeteer in order to execute Jasmine tests from the command line. For more info check the Gulp-jasmine-browser page on NPM or the Jasmine documentation page.
There are no current issues at the time.