Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added my-spellbook-demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 27 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
A work-in-progress spellbook app for 5e.
# My Spellbook

This is a CRUD web application that helps tabletop RPG players look up and keep track of spells for a game that cannot be mentioned by name due to copyright reasons.

- Non-registered users can search for spells available in the System Reference Document 5.1
- Filter by Level, Class, and/or School
- View expanded details of individual spells
- Registered users authorized to save spells to their own persistent collection
- Save a search result to collection
- Edit and delete spells already in collection
- Create custom spells

## Live Demo

![Screenshot of live demo](./my-spellbook-demo.png)

[Try out the live demo of the project.](https://my-spellbook.herokuapp.com/)

## Built With

- [Open5e](https://open5e.com/) - Spell data
- HTML - Project structure
- [Sass](https://sass-lang.com/) - Project presentation
- JS - DOM manipulation on spell index page
- [Mongoose](https://mongoosejs.com/) - Spell and User validation, saving user data to MongoDB database
- [Passport.js](http://www.passportjs.org/) - User authentication with passport-local strategy
- [bcrypt](https://github.com/dcodeIO/bcrypt.js#readme) - Password hashing and salt generation
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Here is a test
2 changes: 1 addition & 1 deletion views/search/search.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<td><%= foundSpells[spell].name %></td>
<td><%= foundSpells[spell].level %></td>
<td><%= foundSpells[spell].school %></td>
<td><a class="button button-more" href="/search/<%= foundSpells[spell].slug %>">View</a></td>
<td><a class="button button-more" href="/search/<%= foundSpells[spell].slug %>" target="_blank">View</a></td>
</tr>
<% } %>
<% } %>
Expand Down