Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,8 +1,3 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
# 321
|
||||
# test32
|
||||
|
||||
## This project was generated by [Flatlogic Platform](https://flatlogic.com).
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
#321 - template backend,
|
||||
#test32 - template backend,
|
||||
|
||||
#### Run App on local machine:
|
||||
|
||||
@ -38,10 +38,10 @@
|
||||
|
||||
- Type this command to creating a new database.
|
||||
|
||||
- `postgres=> CREATE DATABASE db_321;`
|
||||
- `postgres=> CREATE DATABASE db_test32;`
|
||||
|
||||
- Then give that new user privileges to the new database then quit the `psql`.
|
||||
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_321 TO admin;`
|
||||
- `postgres=> GRANT ALL PRIVILEGES ON DATABASE db_test32 TO admin;`
|
||||
- `postgres=> \q`
|
||||
|
||||
---
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "321",
|
||||
"description": "321 - template backend",
|
||||
"name": "test32",
|
||||
"description": "test32 - template backend",
|
||||
"scripts": {
|
||||
"start": "npm run db:migrate && npm run db:seed && npm run watch",
|
||||
"db:migrate": "sequelize-cli db:migrate",
|
||||
|
||||
@ -3,7 +3,7 @@ const os = require('os');
|
||||
const config = {
|
||||
gcloud: {
|
||||
bucket: 'fldemo-files',
|
||||
hash: 'afeefb9d49f5b7977577876b99532ac7',
|
||||
hash: '61c44fe65925b32254d47f2345182f3e',
|
||||
},
|
||||
bcrypt: {
|
||||
saltRounds: 12,
|
||||
@ -36,7 +36,7 @@ const config = {
|
||||
},
|
||||
uploadDir: os.tmpdir(),
|
||||
email: {
|
||||
from: '321 <app@flatlogic.app>',
|
||||
from: 'test32 <app@flatlogic.app>',
|
||||
host: 'email-smtp.us-east-1.amazonaws.com',
|
||||
port: 587,
|
||||
auth: {
|
||||
|
||||
@ -13,7 +13,7 @@ module.exports = {
|
||||
username: 'postgres',
|
||||
dialect: 'postgres',
|
||||
password: '',
|
||||
database: 'db_321',
|
||||
database: 'db_test32',
|
||||
host: process.env.DB_HOST || 'localhost',
|
||||
logging: console.log,
|
||||
seederStorage: 'sequelize',
|
||||
|
||||
@ -89,7 +89,7 @@ const LeadsData = [
|
||||
{
|
||||
name: 'Acme Corp',
|
||||
|
||||
status: 'qualified',
|
||||
status: 'lost',
|
||||
|
||||
// type code here for "relation_one" field
|
||||
|
||||
@ -99,7 +99,7 @@ const LeadsData = [
|
||||
{
|
||||
name: 'Globex Inc',
|
||||
|
||||
status: 'lost',
|
||||
status: 'contacted',
|
||||
|
||||
// type code here for "relation_one" field
|
||||
|
||||
@ -109,7 +109,7 @@ const LeadsData = [
|
||||
{
|
||||
name: 'Initech',
|
||||
|
||||
status: 'lost',
|
||||
status: 'new',
|
||||
|
||||
// type code here for "relation_one" field
|
||||
|
||||
@ -119,7 +119,7 @@ const LeadsData = [
|
||||
{
|
||||
name: 'Umbrella Corp',
|
||||
|
||||
status: 'lost',
|
||||
status: 'new',
|
||||
|
||||
// type code here for "relation_one" field
|
||||
|
||||
|
||||
@ -43,9 +43,9 @@ const options = {
|
||||
openapi: '3.0.0',
|
||||
info: {
|
||||
version: '1.0.0',
|
||||
title: '321',
|
||||
title: 'test32',
|
||||
description:
|
||||
'321 Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
|
||||
'test32 Online REST API for Testing and Prototyping application. You can perform all major operations with your entities - create, delete and etc.',
|
||||
},
|
||||
servers: [
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
const errors = {
|
||||
app: {
|
||||
title: '321',
|
||||
title: 'test32',
|
||||
},
|
||||
|
||||
auth: {
|
||||
|
||||
@ -15,7 +15,7 @@ services:
|
||||
- ./data/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||
- POSTGRES_DB=db_321
|
||||
- POSTGRES_DB=db_test32
|
||||
ports:
|
||||
- "5432:5432"
|
||||
backend:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# 321
|
||||
# test32
|
||||
|
||||
## This project was generated by Flatlogic Platform.
|
||||
|
||||
|
||||
@ -1 +0,0 @@
|
||||
{}
|
||||
@ -44,7 +44,7 @@ export default function AsideMenuLayer({
|
||||
>
|
||||
<div className='text-center flex-1 lg:text-left lg:pl-6 xl:text-center xl:pl-0'>
|
||||
<Link href={'/home'}>
|
||||
<b className='font-black'>321</b>
|
||||
<b className='font-black'>test32</b>
|
||||
</Link>
|
||||
</div>
|
||||
<button
|
||||
|
||||
@ -21,7 +21,7 @@ export default function WebSiteHeader({
|
||||
|
||||
const style = HeaderStyle.PAGES_RIGHT;
|
||||
|
||||
const design = HeaderDesigns.DEFAULT_DESIGN;
|
||||
const design = HeaderDesigns.DESIGN_DIVERSITY;
|
||||
return (
|
||||
<header id='websiteHeader' className='overflow-hidden'>
|
||||
<div
|
||||
|
||||
@ -71,9 +71,9 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
|
||||
}
|
||||
}, []);
|
||||
|
||||
const title = '321';
|
||||
const title = 'test32';
|
||||
|
||||
const description = '321 generated by Flatlogic';
|
||||
const description = 'test32 generated by Flatlogic';
|
||||
|
||||
const url = 'https://flatlogic.com/';
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ import ContactFormSection from '../components/WebPageComponents/ContactFormCompo
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -125,10 +125,10 @@ export default function WebSite() {
|
||||
content={`Discover our CRM app tailored for the law industry, designed to connect departments, streamline operations, and enhance client interactions. Explore features, testimonials, and get in touch today.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Law professionals collaborating efficiently']}
|
||||
mainText={`Revolutionize Your Law Firm's CRM`}
|
||||
subTitle={`Experience seamless integration with ${projectName}, the CRM tailored for the law industry. Connect departments, streamline operations, and enhance client interactions effortlessly.`}
|
||||
@ -137,9 +137,9 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<FeaturesSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Dashboard showcasing CRM features']}
|
||||
withBg={1}
|
||||
withBg={0}
|
||||
features={features_points}
|
||||
mainText={`Unlock Your Firm's Potential with ${projectName}`}
|
||||
subTitle={`Discover how ${projectName} can transform your law firm's operations with these powerful features.`}
|
||||
@ -147,7 +147,7 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<AboutUsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Team collaborating in modern office']}
|
||||
mainText={`Empowering Law Firms with ${projectName}`}
|
||||
subTitle={`At ${projectName}, we are dedicated to revolutionizing the legal industry by providing a comprehensive CRM solution. Our mission is to streamline operations, enhance client interactions, and drive success for law firms worldwide.`}
|
||||
@ -156,21 +156,21 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<TestimonialsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={TestimonialsDesigns.MULTI_CARD_DISPLAY || ''}
|
||||
testimonials={testimonials}
|
||||
mainText={`What Our Clients Say About ${projectName} `}
|
||||
/>
|
||||
|
||||
<ContactFormSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={ContactFormDesigns.WITH_IMAGE || ''}
|
||||
image={['Person typing on a laptop']}
|
||||
mainText={`Get in Touch with ${projectName} `}
|
||||
subTitle={`Reach out to us anytime for inquiries or support. Our team at ${projectName} is here to assist you promptly and efficiently.`}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ export default function Login() {
|
||||
remember: true,
|
||||
});
|
||||
|
||||
const title = '321';
|
||||
const title = 'test32';
|
||||
|
||||
// Fetch Pexels image/video
|
||||
useEffect(() => {
|
||||
|
||||
@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
|
||||
import { getPageTitle } from '../config';
|
||||
|
||||
export default function PrivacyPolicy() {
|
||||
const title = '321';
|
||||
const title = 'test32';
|
||||
const [projectUrl, setProjectUrl] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@ -5,7 +5,7 @@ import LayoutGuest from '../layouts/Guest';
|
||||
import { getPageTitle } from '../config';
|
||||
|
||||
export default function PrivacyPolicy() {
|
||||
const title = '321';
|
||||
const title = 'test32';
|
||||
const [projectUrl, setProjectUrl] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
@ -21,7 +21,7 @@ import TestimonialsSection from '../../components/WebPageComponents/Testimonials
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -98,10 +98,10 @@ export default function WebSite() {
|
||||
content={`Learn more about our mission, values, and the team behind our innovative CRM solutions for the law industry. Explore client testimonials and our journey to revolutionize legal operations.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Team brainstorming in modern office']}
|
||||
mainText={`Meet the Visionaries Behind ${projectName}`}
|
||||
subTitle={`Discover the passion and dedication driving ${projectName}. Our mission is to empower law firms with cutting-edge CRM solutions that streamline operations and enhance client relationships.`}
|
||||
@ -110,7 +110,7 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<AboutUsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Team members discussing project goals']}
|
||||
mainText={`Our Journey with ${projectName}`}
|
||||
subTitle={`At ${projectName}, we are committed to transforming the legal industry with innovative CRM solutions. Our team is dedicated to providing tools that enhance efficiency and client satisfaction.`}
|
||||
@ -119,13 +119,13 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<TestimonialsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={TestimonialsDesigns.HORIZONTAL_CAROUSEL_DIVERSITY || ''}
|
||||
testimonials={testimonials}
|
||||
mainText={`Hear from Our Satisfied Clients `}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ import ContactFormSection from '../../components/WebPageComponents/ContactFormCo
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -62,10 +62,10 @@ export default function WebSite() {
|
||||
content={`Reach out to our team at ${projectName} for any inquiries or support. We are here to assist you with our CRM solutions tailored for the law industry.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Customer support team assisting clients']}
|
||||
mainText={`Connect with ${projectName} Today`}
|
||||
subTitle={`Have questions or need assistance? Our team at ${projectName} is ready to help you with our CRM solutions tailored for the law industry. Reach out to us anytime.`}
|
||||
@ -74,14 +74,14 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<ContactFormSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={ContactFormDesigns.WITH_IMAGE || ''}
|
||||
image={['Person typing on a laptop']}
|
||||
mainText={`Reach Out to ${projectName} Support `}
|
||||
subTitle={`We're here to assist you with any inquiries or support needs. Contact us anytime, and our team will respond promptly to ensure you get the help you need.`}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ import FaqSection from '../../components/WebPageComponents/FaqComponent';
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -100,10 +100,10 @@ export default function WebSite() {
|
||||
content={`Find answers to common questions about ${projectName}. Learn more about our CRM solutions and how they can benefit your law firm.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Person reading FAQ on tablet']}
|
||||
mainText={`Your Questions Answered with ${projectName}`}
|
||||
subTitle={`Explore our comprehensive FAQ section to find answers to your questions about ${projectName}. Learn how our CRM solutions can enhance your legal operations.`}
|
||||
@ -112,13 +112,13 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<FaqSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={FaqDesigns.ACCORDION || ''}
|
||||
faqs={faqs}
|
||||
mainText={`Frequently Asked Questions about ${projectName} `}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -27,7 +27,7 @@ import ContactFormSection from '../../components/WebPageComponents/ContactFormCo
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -125,10 +125,10 @@ export default function WebSite() {
|
||||
content={`Discover our CRM app tailored for the law industry, designed to connect departments, streamline operations, and enhance client interactions. Explore features, testimonials, and get in touch today.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Law professionals collaborating efficiently']}
|
||||
mainText={`Revolutionize Your Law Firm's CRM`}
|
||||
subTitle={`Experience seamless integration with ${projectName}, the CRM tailored for the law industry. Connect departments, streamline operations, and enhance client interactions effortlessly.`}
|
||||
@ -137,7 +137,7 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<FeaturesSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Dashboard showcasing CRM features']}
|
||||
withBg={0}
|
||||
features={features_points}
|
||||
@ -147,7 +147,7 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<AboutUsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Team collaborating in modern office']}
|
||||
mainText={`Empowering Law Firms with ${projectName}`}
|
||||
subTitle={`At ${projectName}, we are dedicated to revolutionizing the legal industry by providing a comprehensive CRM solution. Our mission is to streamline operations, enhance client interactions, and drive success for law firms worldwide.`}
|
||||
@ -156,21 +156,21 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<TestimonialsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={TestimonialsDesigns.MULTI_CARD_DISPLAY || ''}
|
||||
testimonials={testimonials}
|
||||
mainText={`What Our Clients Say About ${projectName} `}
|
||||
/>
|
||||
|
||||
<ContactFormSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={ContactFormDesigns.WITH_IMAGE || ''}
|
||||
image={['Person typing on a laptop']}
|
||||
mainText={`Get in Touch with ${projectName} `}
|
||||
subTitle={`Reach out to us anytime for inquiries or support. Our team at ${projectName} is here to assist you promptly and efficiently.`}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@ import TestimonialsSection from '../../components/WebPageComponents/Testimonials
|
||||
export default function WebSite() {
|
||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
||||
const projectName = '321';
|
||||
const projectName = 'test32';
|
||||
|
||||
useEffect(() => {
|
||||
const darkElement = document.querySelector('body .dark');
|
||||
@ -137,10 +137,10 @@ export default function WebSite() {
|
||||
content={`Explore the comprehensive services offered by our CRM solution tailored for the law industry. Discover how we can streamline your operations and improve client interactions.`}
|
||||
/>
|
||||
</Head>
|
||||
<WebSiteHeader projectName={'321'} pages={pages} />
|
||||
<WebSiteHeader projectName={'test32'} pages={pages} />
|
||||
<main className={`flex-grow bg-white rounded-none `}>
|
||||
<HeroSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Law firm team in discussion']}
|
||||
mainText={`Transform Your Legal Services with ${projectName}`}
|
||||
subTitle={`Discover the range of services offered by ${projectName} to streamline your legal operations. Enhance efficiency, improve client interactions, and drive success with our tailored CRM solutions.`}
|
||||
@ -149,7 +149,7 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<FeaturesSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
image={['Dashboard with CRM features']}
|
||||
withBg={1}
|
||||
features={features_points}
|
||||
@ -159,13 +159,13 @@ export default function WebSite() {
|
||||
/>
|
||||
|
||||
<TestimonialsSection
|
||||
projectName={'321'}
|
||||
projectName={'test32'}
|
||||
design={TestimonialsDesigns.MULTI_CARD_DISPLAY || ''}
|
||||
testimonials={testimonials}
|
||||
mainText={`Client Success Stories with ${projectName} `}
|
||||
/>
|
||||
</main>
|
||||
<WebSiteFooter projectName={'321'} pages={pages} />
|
||||
<WebSiteFooter projectName={'test32'} pages={pages} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user