- ๐ Table of Contents
- ๐Overview
- ๐ฎ Features
- โ๏ธ Project Structure
- ๐งฉ Modules
- ๐๐จ Getting Started
- ๐บ Roadmap
- ๐ค Contributing
- ๐ชช License
- ๐ซ Contact
- ๐ Acknowledgments
The mini-stories project is a platform designed to help users create, edit, and share short stories with the world. It helps users to easily create stories with a simple, intuitive user interface. The files included in the project give users the ability to customize their stories with HTML, CSS, and JavaScript. Additionally, the project also provides authentication and authorization capabilities to ensure users' stories remain private. It is a valuable asset for any user looking to expand their creative writing skills while connecting with other writers.
-
User-Centered Design: The mini-stories project is designed to provide a user-friendly platform for users to share stories and collaborate on projects. This is evident from the variety of views and templates available in the project's code. From the "welcome" page with its simple layout and login form, to the "dashboard" page with its more intricate design, the project includes different elements that cater to the user's experience.
-
Authentication: The project includes authentication scripts which allow users to securely log in and access their stories. Passport.js is used to authenticate the user, and secure session handling is enabled to ensure that all data is kept secure.
-
Data Modeling: The project includes models for both the User and Story entities. This allows users to create stories and keep track of them, while also providing a platform for collaboration. The models are linked to the database, allowing for easy retrieval of data.
-
Flexible Layout: The project includes multiple templates for displaying stories and other elements on the page. This allows for a more varied user experience, with the ability to customize the layout to fit the user's needs.
-
Styling: The project includes a style.css file which allows for custom styling of the user interface. This allows for further customization of the user experience, with the ability to adjust colors, font, and other elements to make the project more visually appealing.
repo
โโโ README.md
โโโ app.js
โโโ config
โ โโโ keys.js
โ โโโ keys_prod.js
โ โโโ passport.js
โโโ helpers
โ โโโ auth.js
โ โโโ hbs.js
โโโ models
โ โโโ Story.js
โ โโโ User.js
โโโ package-lock.json
โโโ package.json
โโโ public
โ โโโ css
โ โ โโโ style.css
โ โโโ favicon.png
โโโ routes
โ โโโ auth.js
โ โโโ index.js
โ โโโ stories.js
โโโ views
โโโ index
โ โโโ about.handlebars
โ โโโ dashboard.handlebars
โ โโโ welcome.handlebars
โโโ layouts
โ โโโ main.handlebars
โโโ partials
โ โโโ _add-btn.handlebars
โ โโโ _footer.handlebars
โ โโโ _header.handlebars
โโโ stories
โโโ add.handlebars
โโโ edit.handlebars
โโโ index.handlebars
โโโ show.handlebars
12 directories, 27 files
Config
File | Summary | Module |
---|---|---|
keys.js | Error generating file summary. | config/keys.js |
passport.js | Error generating file summary. | config/passport.js |
keys_prod.js | Error generating file summary. | config/keys_prod.js |
Css
File | Summary | Module |
---|---|---|
style.css | Error generating file summary. | public/css/style.css |
Helpers
File | Summary | Module |
---|---|---|
auth.js | Error generating file summary. | helpers/auth.js |
hbs.js | Error generating file summary. | helpers/hbs.js |
Index
File | Summary | Module |
---|---|---|
about.handlebars | Error generating file summary. | views/index/about.handlebars |
dashboard.handlebars | Error generating file summary. | views/index/dashboard.handlebars |
welcome.handlebars | Error generating file summary. | views/index/welcome.handlebars |
Layouts
File | Summary | Module |
---|---|---|
main.handlebars | Error generating file summary. | views/layouts/main.handlebars |
Models
File | Summary | Module |
---|---|---|
User.js | Error generating file summary. | models/User.js |
Story.js | Error generating file summary. | models/Story.js |
Partials
File | Summary | Module |
---|---|---|
_footer.handlebars | Error generating file summary. | views/partials/_footer.handlebars |
_add-btn.handlebars | Error generating file summary. | views/partials/_add-btn.handlebars |
_header.handlebars | Error generating file summary. | views/partials/_header.handlebars |
Root
File | Summary | Module |
---|---|---|
app.js | Error generating file summary. | app.js |
Routes
File | Summary | Module |
---|---|---|
stories.js | Error generating file summary. | routes/stories.js |
auth.js | Error generating file summary. | routes/auth.js |
index.js | Error generating file summary. | routes/index.js |
Stories
File | Summary | Module |
---|---|---|
index.handlebars | Error generating file summary. | views/stories/index.handlebars |
edit.handlebars | Error generating file summary. | views/stories/edit.handlebars |
add.handlebars | Error generating file summary. | views/stories/add.handlebars |
show.handlebars | Error generating file summary. | views/stories/show.handlebars |
Before you begin, ensure that you have the following prerequisites installed:
[๐ NodeJS Installed on your system]
- Clone the mini-stories repository:
git clone https://github.com/dzenis-h/mini-stories
- Change to the project directory:
cd mini-stories
- Install the dependencies:
npm install
node app.js
- [๐ COMPLETED-BETA]
- [๐ ADD-MORE-FEATURES]
- [๐ IMPROVE THE DESIGN]
Contributions are always welcome! Please follow these steps:
- Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.
- Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.
- Create a new branch with a descriptive name (e.g.,
new-feature-branch
orbugfix-issue-123
).
git checkout -b new-feature-branch
- Make changes to the project's codebase.
- Commit your changes to your local branch with a clear commit message that explains the changes you've made.
git commit -m 'Implemented new feature.'
- Push your changes to your forked repository on GitHub using the following command
git push origin new-feature-branch
- Create a pull request to the original repository. Open a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary. The project maintainers will review your changes and provide feedback or merge them into the main branch.
This project is licensed under the MIT
License. See the LICENSE file for additional info.