angularjs - How to propose web application demo with data to user? -


i working on web application (interface forms etc. - server - db). use angularjs, nodejs , mongodb. application on net still not offer demo users. offer them login , password ("demo", "demo") or "demo" button access demo version. on public interface, there brief presentation, contact form etc.

there many internal interfaces. once registered user authenticated, he's redirected interface according role. propose button or list of roles choose (interfaces depending on role of user). user chooses role wants see , open demo.

so, how organize demo version technically? knowing users connecting on demo may not have same data! should create empty database same structure "real" , destroy once user logs out? in case, how know if user offline? should create batch removes db @ night? or use same bd different users? how handle @ interface if have user: "demo", "demo" or redirecting button demo?

how apps on web?

you make separate database demo environment, gets reset every day. demo environment might need bit of code auto authenticate users, or prevent user deleting user account or whatever. might start ending spam issues, worry once happens. if happens, maybe use captcha on login page demo environment.

i don't know application, use judgement here.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -