Questions tagged [no-database]

13 questions
7
votes
2 answers

Testing a databaseless Rails 5 application with rspec-rails

I have a Rails 5.0.1 app that is NOT backed by any database. When attempting to write a controller test I get a ActiveRecord::ConnectionNotEstablished exception even though I have explicitly configured my spec/rails_helper.rb not to use ActiveRecord…
2
votes
1 answer

Fix Logout error "No database selected" when trying to implement multi tenancy services in Hibernate Spring boot using session based auth

I am integrating the multi tenancy logic on my project using Hibernate Spring boot, I am able to swap between the DBs using the DNS method, for example: db_name.example.com -> Database name = db_name I am using the session based authentication in…
2
votes
1 answer

Prefill login form from link php

I have made a php login for my family's website private links. Would it be possible to prefill the login details if I emailed a family member a link? Also, could I also have another link that automatically logs the user in? I used to protect my…
devwk
  • 372
  • 2
  • 14
1
vote
1 answer

I want to create a desktop app with database-like search functions but without the SQL database

I know basic SQL, and SQL is all I know when it comes to storing and retrieving data. I want to create 1 .exe and it should contain all ~100,000 key-value pairs (i have the data in .txt files) and maybe an extra attribute for description (this I…
xyzit
  • 89
  • 1
  • 8
0
votes
0 answers

How to retrieve data without database or files?

I'm a Node.js developer, recently I attended an interview. There the interviewer asked me below mentioned question How to retrieve data without database or files? For example: A company named ABC, there is a separate Microsoft Teams. Which…
Ramesh S
  • 585
  • 3
  • 10
  • 32
0
votes
0 answers

how can i store objects in a global array or any data Structure so that i can use that array like a database in my program

what i exactly want is to store some Data Locally in a Array of Objects in my Program so that i can use that Data all day long and by the End of the Day i want to delete it without the use of Databases. I have a Json data and i want to Store them as…
0
votes
2 answers

How to fix while loop error login logout system (no database) (also is there a code about session time)?

I create a basic login and logout system (no database) with the only username given for my school homework, but I have problems with while loops and also session time. I tried to copy and paste a group of codes to different parts of this main code…
0
votes
3 answers

Is there a way how I can link HTML pages together and share information between them without a database?

Hi (English isn't my first language so forgive me for any mistakes), I need some help with my code. I'm working on a website for a school project. I need to make a professional website with HTML/css/php/JavaScript. My subject is the videogames…
user8616457
0
votes
2 answers

html button that opens gmail compose?

I want a contact button on my website in which when the user clicks the Gmail compose mail open in Gmail site with an email address. anyone have any idea how to achieve this?
IT pedia
  • 15
  • 1
  • 4
0
votes
2 answers

Running Spring Boot without database fails

Im trying to configure a project without database and fails with the next error: Caused by: java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType at…
dcalap
  • 1,048
  • 2
  • 13
  • 37
0
votes
1 answer

Laravel 5.4 custom authentication without database

I have no database in my laravel application. I am using Soap service for data fetching in this application. I have followed instructions from the solution of this link from stackoverflow to replace the existing laravel's authentication with custom…
-1
votes
1 answer

How to save data into JSON file

I have simple app for recording of performed services, but I don't want to use database. I've got data.JSON which I fetching in pure JS -> fetch('./data/data.json') .then(res => res.json()) .then(data => {/*fetched data appended into html*/}) So…
-1
votes
1 answer

shopping cart in PHP with MVC model no database just array

Hello guys I'm a newbie in PHP and have an assignment due in the afternoon. Actually i have to create a store that use a session array to retrieve data input in a form, and display it . But the shopping cart has to be built with MVC. So here is…