-
Notifications
You must be signed in to change notification settings - Fork 0
paytonjl/RPGWebGame
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A work in progress webgame for pratice and fun
currently to get this running will need to install all libraries
node js (will also have to add the node_modules folder to the file)
express
express-session
mongodb
dotenv (will need to create an env file with the varialbe MongoDB_API_KEY this will be your uri for mongodb)
cors
bcrypt (env file requirement add saltRounds=(just put a small number here))
get a mongodb connection mine is just the vscode extention and run in the terminal of your IDE ```node server index.js```
then access your htmls i use a live server for vscode
so far i just have a connection to the mongodb server and that allows for creating accounts which will be stored on the server
and the ability to be able to login to the accounts (this does nothing more than telling you that your username and password were correct)
Notes !!!!
current bugs:
when visiting the site with no cookie it will not dynamicly load anything for the
menu buttons since those are connected to accounts and you dont have an acocunt yet
need some way to refresh page after making an account or loading that after the guest account has been made
About
an rpgwebgame
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published