Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change from "todo" to another name - everywhere in app #16

Closed
jamespro opened this issue Apr 28, 2021 · 1 comment
Closed

Change from "todo" to another name - everywhere in app #16

jamespro opened this issue Apr 28, 2021 · 1 comment
Labels
backend Mainly backend, server, database, Node, packages, etc related enhancement New feature or request

Comments

@jamespro
Copy link
Owner

Naming things -- These items are not going to be "todo"s . So what is it?

  1. database 2) collection
    Also, the URLs would go along with that I assume e.g. https://boomshark.herokuapp.com/todos
    would change to /posts or /whatevers
    and the Model, and a bunch of stuff
  • projects?
  • booms? sharks? Lol mostly kidding

Also: I had success before when I was changing this project from "todo" to making a list of "events". I found that with MongoDB, if you change the name of the database or collection, it just automagically creates them. So in that DB_STRING, if we change "todo" to a new database name in that string, it doesn't error, it should just create it

@jamespro jamespro added enhancement New feature or request backend Mainly backend, server, database, Node, packages, etc related labels Apr 28, 2021
jamespro added a commit that referenced this issue May 2, 2021
jamespro added a commit that referenced this issue May 2, 2021
#18 #16 Converted to use posts as routes, show individual post, updat…
@devjusty
Copy link
Collaborator

devjusty commented May 6, 2021

I think this one can be closed since I updated the project name is the package.json all of these seem to be resolved (except the comment in controllers/profile.ejs but I think we can delete that file also?

@devjusty devjusty closed this as completed May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Mainly backend, server, database, Node, packages, etc related enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants